This project is archived and is in readonly mode.

#1030 ✓resolved
Geoff Buesing

Multiparameter Attributes incorrectly do time zone conversion on time-only columns

Reported by Geoff Buesing | September 12th, 2008 @ 12:07 AM | in 2.1.2

Multiparameter Attributes are doing a time zone conversion for attributes assigned to a time-only column, resulting in the wrong time being sent to the database.

To fix this, we just need to do a check in ActiveRecord::Base#instantiate_time_object for the column type, and only do a time zone conversion for :datetime and :timestamp columns.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

Referenced by