I take that back. It does not seem like it is depreciated as it is in the latest rails docs...
On Apr 19, 11:05 am, "tashfeen.ekram" <[email protected]> wrote: > As it seems like TimeZone has been depreciated (http://apidock.com/ > rails/TimeZone). what is the time zone library that should be used? > > Should we be using TZinfo? > > On Apr 15, 12:44 pm, "tashfeen.ekram" <[email protected]> > wrote: > > > > > OK. So, it will always display times on the select menu according to > > standardtime? I just thought since we are in day light savingstime > > which would make the Easterntimezoneis GMT -4, it should say GMT -4 > > rather than GMT -5 which is what it is in standardtime. Basically, it > > does not actually adjust? > > > On Apr 14, 9:15 am, Bryan Crossland <[email protected]> wrote: > > > > 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 possibletimezones. > > > > > > <%= 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 EasternTimezoneas +5 relative to GMT however it > > > > > should be +4. > > > > > Is this because at the moment daylight savingstimeis 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.

