Skip to content

Instantly share code, notes, and snippets.

@biscuitvile
Last active August 29, 2015 14:18
Show Gist options
  • Save biscuitvile/c457be1f324606a7f817 to your computer and use it in GitHub Desktop.
Save biscuitvile/c457be1f324606a7f817 to your computer and use it in GitHub Desktop.
tz.diff
From 0220cab1cbe460387a7323e0de231271d448d825 Mon Sep 17 00:00:00 2001
From: Alexander Dymo <gremlin@earth.(none)>
Date: Thu, 7 May 2009 03:19:17 +0300
Subject: [PATCH] Fix the spelling of Kyiv timezone (Kyev is incorrect, Kyiv is the correct one)
---
.../lib/active_support/values/time_zone.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index e2d759a..b37dae1 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -92,7 +92,7 @@ module ActiveSupport
"Bucharest" => "Europe/Bucharest",
"Cairo" => "Africa/Cairo",
"Helsinki" => "Europe/Helsinki",
- "Kyev" => "Europe/Kiev",
+ "Kyiv" => "Europe/Kiev",
"Riga" => "Europe/Riga",
"Sofia" => "Europe/Sofia",
"Tallinn" => "Europe/Tallinn",
@@ -336,7 +336,7 @@ module ActiveSupport
"Copenhagen", "Madrid", "Paris", "Amsterdam", "Berlin",
"Bern", "Rome", "Stockholm", "Vienna",
"West Central Africa" ],
- [ 7_200, "Bucharest", "Cairo", "Helsinki", "Kyev", "Riga", "Sofia",
+ [ 7_200, "Bucharest", "Cairo", "Helsinki", "Kyiv", "Riga", "Sofia",
"Tallinn", "Vilnius", "Athens", "Istanbul", "Minsk",
"Jerusalem", "Harare", "Pretoria" ],
[ 10_800, "Moscow", "St. Petersburg", "Volgograd", "Kuwait", "Riyadh",
--
1.6.0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment