In the process of migrating from my existing method for handling time
zones to the new Rails 2.1 system, I discovered that by default it
only applies to datetime and timestamp columns, and not time columns.
I'm not sure if this behavior is by design, but I would like to
propose that it be changed to include time columns for time zone
conversion as well.
The reasoning behind this is the same as for datetime and timestamp,
even though time columns do not include date information: all times
need to appear in the user's time zone. An example of where this would
be important could be a news application that requires the submission
of all prospective news items for the next day by a certain time,
which is stored in the database. This time, even though it is date
agnostic, still needs to appear in the user's own time zone to be
Adding support for this behavior would only require adding :time to
the array of valid column types in the
I have submitted a ticket for this issue to lighthouse at
Is there an issue here that I have overlooked as to why time columns
are not currently included?