How time zone support will work in Rails 2.1
Posted by David April 12, 2008 @ 03:33 AM
Geoff Buesing has writing a great guide to the time zone support in Rails 2.1. It goes through all the new features including how to setup per-user time zone support and more. Really good stuff. Geoff’s work will remove a lot of pain for a lot of people. Three cheers to his hard work.

Will I be able to set my own DST periods?
when rails 2.1 will be release ?
@wagner: we’re leveraging the TZInfo library, which is kept up-to-date with the latest DST rules, so there shouldn’t be any need to set your own.
quote: ”@wagner: we’re leveraging the TZInfo library, which is kept up-to-date with the latest DST rules, so there shouldn’t be any need to set your own.”
What for other countries? Argentina has a year-by-year modified DST.
Luis: TZInfo gets its data from the tz database—it’s updated frequently. Here’s a list of the zones it covers: http://twiki.org/cgi-bin/xtra/tzdatepick.html
yeah thats great, i wrote a little hack for my sites but now :D
Good Job Geoff :)
Google
Hip-hip hooray for this. Thanks again! :)
Thanks …
It’s great, but what about helpers? In many places Time.now used instead of Time.zone.now:
date_helper.rb
def time_ago_in_words(from_time, include_seconds = false) distance_of_time_in_words(from_time, Time.now, include_seconds) end
When will be rails 2.1 release ?