[Rails] Re: Is there a way to ignore DST?

2011-03-31 Thread t.pickett66
On Mar 30, 2:06 pm, Coderama wrote: > I want to save my datetime and display it using a user's TimeZone > ignoring DST at all times. Is this possible? Rather than storing a timezone string you could just store the offset, so since I'm in "Central Time US & Canada" I would just use "-0600" which w

[Rails] Re: Is there a way to ignore DST?

2011-03-31 Thread jmanpa
See if TimeZone.period_for_local works for you. It has a DST=false parameter. -- 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 rub