Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ActiveSupport::TimeZone.all is not updated when new time zones are added

#6593

ActiveSupport::TimeZone.all returns all time zones defined up to the first call to ActiveSupport::TimeZone.all. Time zones added after that first call will never be returned.

The same is true for ActiveSupport::TimeZone.us_zones.

This means that e.g., form helpers will not display time zones added after the first ever call to ActiveSupport::TimeZone.all.

We noticed this with Rails 3.0.4, but the problem appears to be still present in the master.

Reported by calamitas · March 18th, 2011 @ 09:04 AM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

No comments yet.