On Wed, Apr 13, 2011 at 2:21 AM, Frederick Cheung < [email protected]> wrote:
> > > On 13 Apr 2011, at 02:55, "tashfeen.ekram" <[email protected]> > wrote: > > > I am running Rails 3.0.3. I am using the below line of code to > > generate a list of possible time zones. > > > > <%= form.time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones > > %> > > > > However, the options at least for the US are off by one hour. It for > > example lists the Eastern Time zone as +5 relative to GMT however it > > should be +4. > > Is this because at the moment daylight savings time is in effect? > > Fred > > I would think so. Given that East Coast is -5 GMT always and is just adjusted forward if DST is honored. There are some places in the US where it is not honored. B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

