mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add Chatham Islands Time (UTC+1245) support.
Also update the documentation on the number of supported time zones.
This commit is contained in:
parent
1c2f80a66f
commit
df3bda2c51
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ module ActiveSupport
|
|||
# The TimeZone class serves as a wrapper around TZInfo::Timezone instances.
|
||||
# It allows us to do the following:
|
||||
#
|
||||
# * Limit the set of zones provided by TZInfo to a meaningful subset of 142
|
||||
# * Limit the set of zones provided by TZInfo to a meaningful subset of 146
|
||||
# zones.
|
||||
# * Retrieve and display zones with a friendlier name
|
||||
# (e.g., "Eastern Time (US & Canada)" instead of "America/New_York").
|
||||
|
@ -177,6 +177,7 @@ module ActiveSupport
|
|||
"Wellington" => "Pacific/Auckland",
|
||||
"Nuku'alofa" => "Pacific/Tongatapu",
|
||||
"Tokelau Is." => "Pacific/Fakaofo",
|
||||
"Chatham Is." => "Pacific/Chatham",
|
||||
"Samoa" => "Pacific/Apia"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue