Method: ActiveSupport::TimeZone.all
- Defined in:
- activesupport/lib/active_support/values/time_zone.rb
.all ⇒ Object
Returns an array of all TimeZone objects. There are multiple TimeZone objects per time zone, in many cases, to make it easier for users to find their own time zone.
223 224 225 |
# File 'activesupport/lib/active_support/values/time_zone.rb', line 223 def all @zones ||= zones_map.values.sort end |