This change fixes date and time format conversions between the timepicker and Rails.