Add date format change in pickups.rb and converting back to js in controllers