Permalink
Browse files

Add Chatham Islands Time (UTC+1245) support.

Also update the documentation on the number of supported time zones.
  • Loading branch information...
1 parent 1c2f80a commit df3bda2c517b13e6f346c9204ec2e9422c77ae7f @BanzaiMan BanzaiMan committed Mar 10, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 activesupport/lib/active_support/values/time_zone.rb
@@ -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 @@ class TimeZone
"Wellington" => "Pacific/Auckland",
"Nuku'alofa" => "Pacific/Tongatapu",
"Tokelau Is." => "Pacific/Fakaofo",
+ "Chatham Is." => "Pacific/Chatham",
"Samoa" => "Pacific/Apia"
}

0 comments on commit df3bda2

Please sign in to comment.