From 1cda85d08a68888744bd230bccd75bf268587028 Mon Sep 17 00:00:00 2001 From: Geoff Buesing Date: Tue, 26 Jan 2010 20:18:17 -0600 Subject: Georgetown TimeZone is now mapped to "America/Guyana" instead of "America/Argentina/San_Juan" [#1821 status:resolved] --- .../lib/active_support/values/time_zone.rb | 6 +++--- .../lib/tzinfo/definitions/America/Guyana.rb | 24 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 activesupport/lib/active_support/vendor/tzinfo-0.3.15/lib/tzinfo/definitions/America/Guyana.rb (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb index 245d3ce051..4db3dd1705 100644 --- a/activesupport/lib/active_support/values/time_zone.rb +++ b/activesupport/lib/active_support/values/time_zone.rb @@ -55,7 +55,7 @@ module ActiveSupport "Newfoundland" => "America/St_Johns", "Brasilia" => "America/Sao_Paulo", "Buenos Aires" => "America/Argentina/Buenos_Aires", - "Georgetown" => "America/Argentina/San_Juan", + "Georgetown" => "America/Guyana", "Greenland" => "America/Godthab", "Mid-Atlantic" => "Atlantic/South_Georgia", "Azores" => "Atlantic/Azores", @@ -323,9 +323,9 @@ module ActiveSupport [-18_000, "Eastern Time (US & Canada)", "Indiana (East)", "Bogota", "Lima", "Quito" ], [-16_200, "Caracas" ], - [-14_400, "Atlantic Time (Canada)", "La Paz", "Santiago" ], + [-14_400, "Atlantic Time (Canada)", "Georgetown", "La Paz", "Santiago" ], [-12_600, "Newfoundland" ], - [-10_800, "Brasilia", "Buenos Aires", "Georgetown", "Greenland" ], + [-10_800, "Brasilia", "Buenos Aires", "Greenland" ], [ -7_200, "Mid-Atlantic" ], [ -3_600, "Azores", "Cape Verde Is." ], [ 0, "Dublin", "Edinburgh", "Lisbon", "London", "Casablanca", diff --git a/activesupport/lib/active_support/vendor/tzinfo-0.3.15/lib/tzinfo/definitions/America/Guyana.rb b/activesupport/lib/active_support/vendor/tzinfo-0.3.15/lib/tzinfo/definitions/America/Guyana.rb new file mode 100644 index 0000000000..fccca4ceb4 --- /dev/null +++ b/activesupport/lib/active_support/vendor/tzinfo-0.3.15/lib/tzinfo/definitions/America/Guyana.rb @@ -0,0 +1,24 @@ +require 'tzinfo/timezone_definition' + +module TZInfo + module Definitions + module America + module Guyana + include TimezoneDefinition + + timezone 'America/Guyana' do |tz| + tz.offset :o0, -13960, 0, :LMT + tz.offset :o1, -13500, 0, :GBGT + tz.offset :o2, -13500, 0, :GYT + tz.offset :o3, -10800, 0, :GYT + tz.offset :o4, -14400, 0, :GYT + + tz.transition 1915, 3, :o1, 5228404549, 2160 + tz.transition 1966, 5, :o2, 78056693, 32 + tz.transition 1975, 7, :o3, 176010300 + tz.transition 1991, 1, :o4, 662698800 + end + end + end + end +end -- cgit v1.2.3