class method
self.us_zones
Ruby on Rails 6.0.6
Since v2.2.3Signature
self.us_zones()
A convenience method for returning a collection of TimeZone objects for time zones in the USA.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 248
def us_zones
country_zones(:us)
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 248
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone