aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-17 23:43:26 +0200
committerPratik Naik <pratiknaik@gmail.com>2008-10-17 23:43:26 +0200
commit18e7bf28655cfd9253239963256609edb9fa5a53 (patch)
treed63f9bd00f4b284710a20aed095506e93318e2fb /activesupport
parent5384ba3081745ea44481750e6471e4dcaa8d1a93 (diff)
downloadrails-18e7bf28655cfd9253239963256609edb9fa5a53.tar.gz
rails-18e7bf28655cfd9253239963256609edb9fa5a53.tar.bz2
rails-18e7bf28655cfd9253239963256609edb9fa5a53.zip
Fix Brasilia timezone. [#1180 state:resolved]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/values/time_zone.rb2
-rw-r--r--activesupport/lib/active_support/vendor/tzinfo-0.3.9/tzinfo/definitions/America/Sao_Paulo.rb171
2 files changed, 172 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index a294dd0ba3..4991f71683 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -51,7 +51,7 @@ module ActiveSupport
"La Paz" => "America/La_Paz",
"Santiago" => "America/Santiago",
"Newfoundland" => "America/St_Johns",
- "Brasilia" => "America/Argentina/Buenos_Aires",
+ "Brasilia" => "America/Sao_Paulo",
"Buenos Aires" => "America/Argentina/Buenos_Aires",
"Georgetown" => "America/Argentina/San_Juan",
"Greenland" => "America/Godthab",
diff --git a/activesupport/lib/active_support/vendor/tzinfo-0.3.9/tzinfo/definitions/America/Sao_Paulo.rb b/activesupport/lib/active_support/vendor/tzinfo-0.3.9/tzinfo/definitions/America/Sao_Paulo.rb
new file mode 100644
index 0000000000..72311bd03e
--- /dev/null
+++ b/activesupport/lib/active_support/vendor/tzinfo-0.3.9/tzinfo/definitions/America/Sao_Paulo.rb
@@ -0,0 +1,171 @@
+require 'tzinfo/timezone_definition'
+
+module TZInfo
+ module Definitions
+ module America
+ module Sao_Paulo
+ include TimezoneDefinition
+
+ timezone 'America/Sao_Paulo' do |tz|
+ tz.offset :o0, -11188, 0, :LMT
+ tz.offset :o1, -10800, 0, :BRT
+ tz.offset :o2, -10800, 3600, :BRST
+
+ tz.transition 1914, 1, :o1, 52274886397, 21600
+ tz.transition 1931, 10, :o2, 29119417, 12
+ tz.transition 1932, 4, :o1, 29121583, 12
+ tz.transition 1932, 10, :o2, 19415869, 8
+ tz.transition 1933, 4, :o1, 29125963, 12
+ tz.transition 1949, 12, :o2, 19466013, 8
+ tz.transition 1950, 4, :o1, 19467101, 8
+ tz.transition 1950, 12, :o2, 19468933, 8
+ tz.transition 1951, 4, :o1, 29204851, 12
+ tz.transition 1951, 12, :o2, 19471853, 8
+ tz.transition 1952, 4, :o1, 29209243, 12
+ tz.transition 1952, 12, :o2, 19474781, 8
+ tz.transition 1953, 3, :o1, 29213251, 12
+ tz.transition 1963, 10, :o2, 19506605, 8
+ tz.transition 1964, 3, :o1, 29261467, 12
+ tz.transition 1965, 1, :o2, 19510333, 8
+ tz.transition 1965, 3, :o1, 29266207, 12
+ tz.transition 1965, 12, :o2, 19512765, 8
+ tz.transition 1966, 3, :o1, 29270227, 12
+ tz.transition 1966, 11, :o2, 19515445, 8
+ tz.transition 1967, 3, :o1, 29274607, 12
+ tz.transition 1967, 11, :o2, 19518365, 8
+ tz.transition 1968, 3, :o1, 29278999, 12
+ tz.transition 1985, 11, :o2, 499748400
+ tz.transition 1986, 3, :o1, 511236000
+ tz.transition 1986, 10, :o2, 530593200
+ tz.transition 1987, 2, :o1, 540266400
+ tz.transition 1987, 10, :o2, 562129200
+ tz.transition 1988, 2, :o1, 571197600
+ tz.transition 1988, 10, :o2, 592974000
+ tz.transition 1989, 1, :o1, 602042400
+ tz.transition 1989, 10, :o2, 624423600
+ tz.transition 1990, 2, :o1, 634701600
+ tz.transition 1990, 10, :o2, 656478000
+ tz.transition 1991, 2, :o1, 666756000
+ tz.transition 1991, 10, :o2, 687927600
+ tz.transition 1992, 2, :o1, 697600800
+ tz.transition 1992, 10, :o2, 719982000
+ tz.transition 1993, 1, :o1, 728445600
+ tz.transition 1993, 10, :o2, 750826800
+ tz.transition 1994, 2, :o1, 761709600
+ tz.transition 1994, 10, :o2, 782276400
+ tz.transition 1995, 2, :o1, 793159200
+ tz.transition 1995, 10, :o2, 813726000
+ tz.transition 1996, 2, :o1, 824004000
+ tz.transition 1996, 10, :o2, 844570800
+ tz.transition 1997, 2, :o1, 856058400
+ tz.transition 1997, 10, :o2, 876106800
+ tz.transition 1998, 3, :o1, 888717600
+ tz.transition 1998, 10, :o2, 908074800
+ tz.transition 1999, 2, :o1, 919562400
+ tz.transition 1999, 10, :o2, 938919600
+ tz.transition 2000, 2, :o1, 951616800
+ tz.transition 2000, 10, :o2, 970974000
+ tz.transition 2001, 2, :o1, 982461600
+ tz.transition 2001, 10, :o2, 1003028400
+ tz.transition 2002, 2, :o1, 1013911200
+ tz.transition 2002, 11, :o2, 1036292400
+ tz.transition 2003, 2, :o1, 1045360800
+ tz.transition 2003, 10, :o2, 1066532400
+ tz.transition 2004, 2, :o1, 1076810400
+ tz.transition 2004, 11, :o2, 1099364400
+ tz.transition 2005, 2, :o1, 1108864800
+ tz.transition 2005, 10, :o2, 1129431600
+ tz.transition 2006, 2, :o1, 1140314400
+ tz.transition 2006, 11, :o2, 1162695600
+ tz.transition 2007, 2, :o1, 1172368800
+ tz.transition 2007, 10, :o2, 1192330800
+ tz.transition 2008, 2, :o1, 1203213600
+ tz.transition 2008, 10, :o2, 1224385200
+ tz.transition 2009, 2, :o1, 1234663200
+ tz.transition 2009, 10, :o2, 1255834800
+ tz.transition 2010, 2, :o1, 1266717600
+ tz.transition 2010, 10, :o2, 1287284400
+ tz.transition 2011, 2, :o1, 1298167200
+ tz.transition 2011, 10, :o2, 1318734000
+ tz.transition 2012, 2, :o1, 1330221600
+ tz.transition 2012, 10, :o2, 1350788400
+ tz.transition 2013, 2, :o1, 1361066400
+ tz.transition 2013, 10, :o2, 1382238000
+ tz.transition 2014, 2, :o1, 1392516000
+ tz.transition 2014, 10, :o2, 1413687600
+ tz.transition 2015, 2, :o1, 1424570400
+ tz.transition 2015, 10, :o2, 1445137200
+ tz.transition 2016, 2, :o1, 1456020000
+ tz.transition 2016, 10, :o2, 1476586800
+ tz.transition 2017, 2, :o1, 1487469600
+ tz.transition 2017, 10, :o2, 1508036400
+ tz.transition 2018, 2, :o1, 1518919200
+ tz.transition 2018, 10, :o2, 1540090800
+ tz.transition 2019, 2, :o1, 1550368800
+ tz.transition 2019, 10, :o2, 1571540400
+ tz.transition 2020, 2, :o1, 1581818400
+ tz.transition 2020, 10, :o2, 1602990000
+ tz.transition 2021, 2, :o1, 1613872800
+ tz.transition 2021, 10, :o2, 1634439600
+ tz.transition 2022, 2, :o1, 1645322400
+ tz.transition 2022, 10, :o2, 1665889200
+ tz.transition 2023, 2, :o1, 1677376800
+ tz.transition 2023, 10, :o2, 1697338800
+ tz.transition 2024, 2, :o1, 1708221600
+ tz.transition 2024, 10, :o2, 1729393200
+ tz.transition 2025, 2, :o1, 1739671200
+ tz.transition 2025, 10, :o2, 1760842800
+ tz.transition 2026, 2, :o1, 1771725600
+ tz.transition 2026, 10, :o2, 1792292400
+ tz.transition 2027, 2, :o1, 1803175200
+ tz.transition 2027, 10, :o2, 1823742000
+ tz.transition 2028, 2, :o1, 1834624800
+ tz.transition 2028, 10, :o2, 1855191600
+ tz.transition 2029, 2, :o1, 1866074400
+ tz.transition 2029, 10, :o2, 1887246000
+ tz.transition 2030, 2, :o1, 1897524000
+ tz.transition 2030, 10, :o2, 1918695600
+ tz.transition 2031, 2, :o1, 1928973600
+ tz.transition 2031, 10, :o2, 1950145200
+ tz.transition 2032, 2, :o1, 1960423200
+ tz.transition 2032, 10, :o2, 1981594800
+ tz.transition 2033, 2, :o1, 1992477600
+ tz.transition 2033, 10, :o2, 2013044400
+ tz.transition 2034, 2, :o1, 2024532000
+ tz.transition 2034, 10, :o2, 2044494000
+ tz.transition 2035, 2, :o1, 2055376800
+ tz.transition 2035, 10, :o2, 2076548400
+ tz.transition 2036, 2, :o1, 2086826400
+ tz.transition 2036, 10, :o2, 2107998000
+ tz.transition 2037, 2, :o1, 2118880800
+ tz.transition 2037, 10, :o2, 2139447600
+ tz.transition 2038, 2, :o1, 29585707, 12
+ tz.transition 2038, 10, :o2, 19725709, 8
+ tz.transition 2039, 2, :o1, 29590075, 12
+ tz.transition 2039, 10, :o2, 19728621, 8
+ tz.transition 2040, 2, :o1, 29594443, 12
+ tz.transition 2040, 10, :o2, 19731589, 8
+ tz.transition 2041, 2, :o1, 29598811, 12
+ tz.transition 2041, 10, :o2, 19734501, 8
+ tz.transition 2042, 2, :o1, 29603179, 12
+ tz.transition 2042, 10, :o2, 19737413, 8
+ tz.transition 2043, 2, :o1, 29607547, 12
+ tz.transition 2043, 10, :o2, 19740325, 8
+ tz.transition 2044, 2, :o1, 29611999, 12
+ tz.transition 2044, 10, :o2, 19743237, 8
+ tz.transition 2045, 2, :o1, 29616367, 12
+ tz.transition 2045, 10, :o2, 19746149, 8
+ tz.transition 2046, 2, :o1, 29620735, 12
+ tz.transition 2046, 10, :o2, 19749117, 8
+ tz.transition 2047, 2, :o1, 29625103, 12
+ tz.transition 2047, 10, :o2, 19752029, 8
+ tz.transition 2048, 2, :o1, 29629471, 12
+ tz.transition 2048, 10, :o2, 19754941, 8
+ tz.transition 2049, 2, :o1, 29633923, 12
+ tz.transition 2049, 10, :o2, 19757853, 8
+ tz.transition 2050, 2, :o1, 29638291, 12
+ end
+ end
+ end
+ end
+end