title: combining date & time into one datetime field
body: <p>i am trying to save and convert the date and time fields from a form into a singular datetime attribute. at present i am passing the date and time as per below</p>
  
  <pre><code>Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"4vsUi3DN9ucsxkrojPMe/J4tvJwsIebvGzv0gC0/w8g=", "event"=&gt;{"team_id"=&gt;"4", "date"=&gt;"Monday, July 01, 2013", "time"=&gt;"06:15 am", "event"=&gt;"1", "location_name"=&gt;"Another Loc", "duration"=&gt;"10", "arrival_time"=&gt;"10", "opponent_name"=&gt;"Test", "home_or_away"=&gt;"Home"}, "commit"=&gt;"Create Event"}
  </code></pre>
  
  <p>and attempting to save this data with the following</p>
  
  <pre><code>params[:event][:datetime] = DateTime.parse(params[:event][:date]+params[:event][:time])
      @event = Event.new(params[:event])
  </code></pre>
  
  <p>which seems to be saving the data correctly, though when i attempt to display it with the following i am getting a time that is 10 hours in the future</p>
  
  <pre><code>Time::DATE_FORMATS[:event_time] = '%l:%M %p'
  </code></pre>