aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2012-11-01 17:58:17 -0700
committerSteve Klabnik <steve@steveklabnik.com>2012-11-01 18:10:48 -0700
commit642e1af6f13877873a51f695bf0953f9f06aec79 (patch)
tree65eaa7bf69dbc8e25cb7662b09a7eb3643225f42 /activesupport
parent2e20a7d9f7555ec50ba6b364ba5a5861c5f9bc95 (diff)
downloadrails-642e1af6f13877873a51f695bf0953f9f06aec79.tar.gz
rails-642e1af6f13877873a51f695bf0953f9f06aec79.tar.bz2
rails-642e1af6f13877873a51f695bf0953f9f06aec79.zip
Fixed timezone mapping of Solomon Islands.
Fixes #8095. For reference, here is the discussion about the mapping being incorrect: http://rubyforge.org/pipermail/tzinfo-users/2012-November/000114.html
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/CHANGELOG.md2
-rw-r--r--activesupport/lib/active_support/values/time_zone.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 1c1edc9048..6534c0af85 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,7 @@
## Rails 4.0.0 (unreleased) ##
+* Fixed timezone mapping of the Solomon Islands. *Steve Klabnik*
+
* Make callstack attribute optional in
ActiveSupport::Deprecation::Reporting methods `warn` and `deprecation_warning`
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index 231d61da96..0207f53238 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -167,7 +167,7 @@ module ActiveSupport
"Guam" => "Pacific/Guam",
"Port Moresby" => "Pacific/Port_Moresby",
"Magadan" => "Asia/Magadan",
- "Solomon Is." => "Asia/Magadan",
+ "Solomon Is." => "Pacific/Guadalcanal",
"New Caledonia" => "Pacific/Noumea",
"Fiji" => "Pacific/Fiji",
"Kamchatka" => "Asia/Kamchatka",