mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Bundle TzInfo version 0.3.11
This commit is contained in:
parent
39e1911463
commit
93e1bff82a
140 changed files with 251 additions and 201 deletions
|
@ -20,7 +20,7 @@ rescue Gem::LoadError
|
|||
end
|
||||
|
||||
begin
|
||||
gem 'tzinfo', '~> 0.3.9'
|
||||
gem 'tzinfo', '~> 0.3.11'
|
||||
rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/vendor/tzinfo-0.3.9"
|
||||
end
|
||||
|
|
|
@ -38,7 +38,7 @@ module TZInfo
|
|||
|
||||
# Returns the set of TimezonePeriod instances that are valid for the given
|
||||
# local time as an array. If you just want a single period, use
|
||||
# period_for_local instead and specify how ambiguities should be resolved.
|
||||
# period_for_local instead and specify how abiguities should be resolved.
|
||||
# Raises PeriodNotFound if no periods are found for the given time.
|
||||
def periods_for_local(local)
|
||||
info.periods_for_local(local)
|
|
@ -66,7 +66,7 @@ module TZInfo
|
|||
# ArgumentError will be raised if a transition is added out of order.
|
||||
# offset_id refers to an id defined with offset. ArgumentError will be
|
||||
# raised if the offset_id cannot be found. numerator_or_time and
|
||||
# denominator specify the time the transition occurs as. See
|
||||
# denomiator specify the time the transition occurs as. See
|
||||
# TimezoneTransitionInfo for more detail about specifying times.
|
||||
def transition(year, month, offset_id, numerator_or_time, denominator = nil)
|
||||
offset = @offsets[offset_id]
|
|
@ -32,7 +32,7 @@ module TZInfo
|
|||
tz.transition 1984, 3, :o3, 448243200
|
||||
tz.transition 1985, 12, :o1, 504918000
|
||||
tz.transition 2008, 6, :o2, 1212278400
|
||||
tz.transition 2008, 9, :o1, 1222556400
|
||||
tz.transition 2008, 8, :o1, 1220223600
|
||||
end
|
||||
end
|
||||
end
|
|
@ -74,89 +74,89 @@ module TZInfo
|
|||
tz.transition 2000, 3, :o4, 952052400
|
||||
tz.transition 2007, 12, :o5, 1198983600
|
||||
tz.transition 2008, 3, :o4, 1205632800
|
||||
tz.transition 2008, 10, :o5, 1223175600
|
||||
tz.transition 2008, 10, :o5, 1224385200
|
||||
tz.transition 2009, 3, :o4, 1237082400
|
||||
tz.transition 2009, 10, :o5, 1254625200
|
||||
tz.transition 2009, 10, :o5, 1255834800
|
||||
tz.transition 2010, 3, :o4, 1269136800
|
||||
tz.transition 2010, 10, :o5, 1286074800
|
||||
tz.transition 2010, 10, :o5, 1287284400
|
||||
tz.transition 2011, 3, :o4, 1300586400
|
||||
tz.transition 2011, 10, :o5, 1317524400
|
||||
tz.transition 2011, 10, :o5, 1318734000
|
||||
tz.transition 2012, 3, :o4, 1332036000
|
||||
tz.transition 2012, 10, :o5, 1349578800
|
||||
tz.transition 2012, 10, :o5, 1350788400
|
||||
tz.transition 2013, 3, :o4, 1363485600
|
||||
tz.transition 2013, 10, :o5, 1381028400
|
||||
tz.transition 2013, 10, :o5, 1382238000
|
||||
tz.transition 2014, 3, :o4, 1394935200
|
||||
tz.transition 2014, 10, :o5, 1412478000
|
||||
tz.transition 2014, 10, :o5, 1413687600
|
||||
tz.transition 2015, 3, :o4, 1426384800
|
||||
tz.transition 2015, 10, :o5, 1443927600
|
||||
tz.transition 2015, 10, :o5, 1445137200
|
||||
tz.transition 2016, 3, :o4, 1458439200
|
||||
tz.transition 2016, 10, :o5, 1475377200
|
||||
tz.transition 2016, 10, :o5, 1476586800
|
||||
tz.transition 2017, 3, :o4, 1489888800
|
||||
tz.transition 2017, 10, :o5, 1506826800
|
||||
tz.transition 2017, 10, :o5, 1508036400
|
||||
tz.transition 2018, 3, :o4, 1521338400
|
||||
tz.transition 2018, 10, :o5, 1538881200
|
||||
tz.transition 2018, 10, :o5, 1540090800
|
||||
tz.transition 2019, 3, :o4, 1552788000
|
||||
tz.transition 2019, 10, :o5, 1570330800
|
||||
tz.transition 2019, 10, :o5, 1571540400
|
||||
tz.transition 2020, 3, :o4, 1584237600
|
||||
tz.transition 2020, 10, :o5, 1601780400
|
||||
tz.transition 2020, 10, :o5, 1602990000
|
||||
tz.transition 2021, 3, :o4, 1616292000
|
||||
tz.transition 2021, 10, :o5, 1633230000
|
||||
tz.transition 2021, 10, :o5, 1634439600
|
||||
tz.transition 2022, 3, :o4, 1647741600
|
||||
tz.transition 2022, 10, :o5, 1664679600
|
||||
tz.transition 2022, 10, :o5, 1665889200
|
||||
tz.transition 2023, 3, :o4, 1679191200
|
||||
tz.transition 2023, 10, :o5, 1696129200
|
||||
tz.transition 2023, 10, :o5, 1697338800
|
||||
tz.transition 2024, 3, :o4, 1710640800
|
||||
tz.transition 2024, 10, :o5, 1728183600
|
||||
tz.transition 2024, 10, :o5, 1729393200
|
||||
tz.transition 2025, 3, :o4, 1742090400
|
||||
tz.transition 2025, 10, :o5, 1759633200
|
||||
tz.transition 2025, 10, :o5, 1760842800
|
||||
tz.transition 2026, 3, :o4, 1773540000
|
||||
tz.transition 2026, 10, :o5, 1791082800
|
||||
tz.transition 2026, 10, :o5, 1792292400
|
||||
tz.transition 2027, 3, :o4, 1805594400
|
||||
tz.transition 2027, 10, :o5, 1822532400
|
||||
tz.transition 2027, 10, :o5, 1823742000
|
||||
tz.transition 2028, 3, :o4, 1837044000
|
||||
tz.transition 2028, 10, :o5, 1853982000
|
||||
tz.transition 2028, 10, :o5, 1855191600
|
||||
tz.transition 2029, 3, :o4, 1868493600
|
||||
tz.transition 2029, 10, :o5, 1886036400
|
||||
tz.transition 2029, 10, :o5, 1887246000
|
||||
tz.transition 2030, 3, :o4, 1899943200
|
||||
tz.transition 2030, 10, :o5, 1917486000
|
||||
tz.transition 2030, 10, :o5, 1918695600
|
||||
tz.transition 2031, 3, :o4, 1931392800
|
||||
tz.transition 2031, 10, :o5, 1948935600
|
||||
tz.transition 2031, 10, :o5, 1950145200
|
||||
tz.transition 2032, 3, :o4, 1963447200
|
||||
tz.transition 2032, 10, :o5, 1980385200
|
||||
tz.transition 2032, 10, :o5, 1981594800
|
||||
tz.transition 2033, 3, :o4, 1994896800
|
||||
tz.transition 2033, 10, :o5, 2011834800
|
||||
tz.transition 2033, 10, :o5, 2013044400
|
||||
tz.transition 2034, 3, :o4, 2026346400
|
||||
tz.transition 2034, 10, :o5, 2043284400
|
||||
tz.transition 2034, 10, :o5, 2044494000
|
||||
tz.transition 2035, 3, :o4, 2057796000
|
||||
tz.transition 2035, 10, :o5, 2075338800
|
||||
tz.transition 2035, 10, :o5, 2076548400
|
||||
tz.transition 2036, 3, :o4, 2089245600
|
||||
tz.transition 2036, 10, :o5, 2106788400
|
||||
tz.transition 2036, 10, :o5, 2107998000
|
||||
tz.transition 2037, 3, :o4, 2120695200
|
||||
tz.transition 2037, 10, :o5, 2138238000
|
||||
tz.transition 2037, 10, :o5, 2139447600
|
||||
tz.transition 2038, 3, :o4, 29586043, 12
|
||||
tz.transition 2038, 10, :o5, 19725597, 8
|
||||
tz.transition 2038, 10, :o5, 19725709, 8
|
||||
tz.transition 2039, 3, :o4, 29590411, 12
|
||||
tz.transition 2039, 10, :o5, 19728509, 8
|
||||
tz.transition 2039, 10, :o5, 19728621, 8
|
||||
tz.transition 2040, 3, :o4, 29594779, 12
|
||||
tz.transition 2040, 10, :o5, 19731477, 8
|
||||
tz.transition 2040, 10, :o5, 19731589, 8
|
||||
tz.transition 2041, 3, :o4, 29599147, 12
|
||||
tz.transition 2041, 10, :o5, 19734389, 8
|
||||
tz.transition 2041, 10, :o5, 19734501, 8
|
||||
tz.transition 2042, 3, :o4, 29603515, 12
|
||||
tz.transition 2042, 10, :o5, 19737301, 8
|
||||
tz.transition 2042, 10, :o5, 19737413, 8
|
||||
tz.transition 2043, 3, :o4, 29607883, 12
|
||||
tz.transition 2043, 10, :o5, 19740213, 8
|
||||
tz.transition 2043, 10, :o5, 19740325, 8
|
||||
tz.transition 2044, 3, :o4, 29612335, 12
|
||||
tz.transition 2044, 10, :o5, 19743125, 8
|
||||
tz.transition 2044, 10, :o5, 19743237, 8
|
||||
tz.transition 2045, 3, :o4, 29616703, 12
|
||||
tz.transition 2045, 10, :o5, 19746037, 8
|
||||
tz.transition 2045, 10, :o5, 19746149, 8
|
||||
tz.transition 2046, 3, :o4, 29621071, 12
|
||||
tz.transition 2046, 10, :o5, 19749005, 8
|
||||
tz.transition 2046, 10, :o5, 19749117, 8
|
||||
tz.transition 2047, 3, :o4, 29625439, 12
|
||||
tz.transition 2047, 10, :o5, 19751917, 8
|
||||
tz.transition 2047, 10, :o5, 19752029, 8
|
||||
tz.transition 2048, 3, :o4, 29629807, 12
|
||||
tz.transition 2048, 10, :o5, 19754829, 8
|
||||
tz.transition 2048, 10, :o5, 19754941, 8
|
||||
tz.transition 2049, 3, :o4, 29634259, 12
|
||||
tz.transition 2049, 10, :o5, 19757741, 8
|
||||
tz.transition 2049, 10, :o5, 19757853, 8
|
||||
tz.transition 2050, 3, :o4, 29638627, 12
|
||||
end
|
||||
end
|
|
@ -78,89 +78,89 @@ module TZInfo
|
|||
tz.transition 2004, 7, :o4, 1090728000
|
||||
tz.transition 2007, 12, :o5, 1198983600
|
||||
tz.transition 2008, 3, :o4, 1205632800
|
||||
tz.transition 2008, 10, :o5, 1223175600
|
||||
tz.transition 2008, 10, :o5, 1224385200
|
||||
tz.transition 2009, 3, :o4, 1237082400
|
||||
tz.transition 2009, 10, :o5, 1254625200
|
||||
tz.transition 2009, 10, :o5, 1255834800
|
||||
tz.transition 2010, 3, :o4, 1269136800
|
||||
tz.transition 2010, 10, :o5, 1286074800
|
||||
tz.transition 2010, 10, :o5, 1287284400
|
||||
tz.transition 2011, 3, :o4, 1300586400
|
||||
tz.transition 2011, 10, :o5, 1317524400
|
||||
tz.transition 2011, 10, :o5, 1318734000
|
||||
tz.transition 2012, 3, :o4, 1332036000
|
||||
tz.transition 2012, 10, :o5, 1349578800
|
||||
tz.transition 2012, 10, :o5, 1350788400
|
||||
tz.transition 2013, 3, :o4, 1363485600
|
||||
tz.transition 2013, 10, :o5, 1381028400
|
||||
tz.transition 2013, 10, :o5, 1382238000
|
||||
tz.transition 2014, 3, :o4, 1394935200
|
||||
tz.transition 2014, 10, :o5, 1412478000
|
||||
tz.transition 2014, 10, :o5, 1413687600
|
||||
tz.transition 2015, 3, :o4, 1426384800
|
||||
tz.transition 2015, 10, :o5, 1443927600
|
||||
tz.transition 2015, 10, :o5, 1445137200
|
||||
tz.transition 2016, 3, :o4, 1458439200
|
||||
tz.transition 2016, 10, :o5, 1475377200
|
||||
tz.transition 2016, 10, :o5, 1476586800
|
||||
tz.transition 2017, 3, :o4, 1489888800
|
||||
tz.transition 2017, 10, :o5, 1506826800
|
||||
tz.transition 2017, 10, :o5, 1508036400
|
||||
tz.transition 2018, 3, :o4, 1521338400
|
||||
tz.transition 2018, 10, :o5, 1538881200
|
||||
tz.transition 2018, 10, :o5, 1540090800
|
||||
tz.transition 2019, 3, :o4, 1552788000
|
||||
tz.transition 2019, 10, :o5, 1570330800
|
||||
tz.transition 2019, 10, :o5, 1571540400
|
||||
tz.transition 2020, 3, :o4, 1584237600
|
||||
tz.transition 2020, 10, :o5, 1601780400
|
||||
tz.transition 2020, 10, :o5, 1602990000
|
||||
tz.transition 2021, 3, :o4, 1616292000
|
||||
tz.transition 2021, 10, :o5, 1633230000
|
||||
tz.transition 2021, 10, :o5, 1634439600
|
||||
tz.transition 2022, 3, :o4, 1647741600
|
||||
tz.transition 2022, 10, :o5, 1664679600
|
||||
tz.transition 2022, 10, :o5, 1665889200
|
||||
tz.transition 2023, 3, :o4, 1679191200
|
||||
tz.transition 2023, 10, :o5, 1696129200
|
||||
tz.transition 2023, 10, :o5, 1697338800
|
||||
tz.transition 2024, 3, :o4, 1710640800
|
||||
tz.transition 2024, 10, :o5, 1728183600
|
||||
tz.transition 2024, 10, :o5, 1729393200
|
||||
tz.transition 2025, 3, :o4, 1742090400
|
||||
tz.transition 2025, 10, :o5, 1759633200
|
||||
tz.transition 2025, 10, :o5, 1760842800
|
||||
tz.transition 2026, 3, :o4, 1773540000
|
||||
tz.transition 2026, 10, :o5, 1791082800
|
||||
tz.transition 2026, 10, :o5, 1792292400
|
||||
tz.transition 2027, 3, :o4, 1805594400
|
||||
tz.transition 2027, 10, :o5, 1822532400
|
||||
tz.transition 2027, 10, :o5, 1823742000
|
||||
tz.transition 2028, 3, :o4, 1837044000
|
||||
tz.transition 2028, 10, :o5, 1853982000
|
||||
tz.transition 2028, 10, :o5, 1855191600
|
||||
tz.transition 2029, 3, :o4, 1868493600
|
||||
tz.transition 2029, 10, :o5, 1886036400
|
||||
tz.transition 2029, 10, :o5, 1887246000
|
||||
tz.transition 2030, 3, :o4, 1899943200
|
||||
tz.transition 2030, 10, :o5, 1917486000
|
||||
tz.transition 2030, 10, :o5, 1918695600
|
||||
tz.transition 2031, 3, :o4, 1931392800
|
||||
tz.transition 2031, 10, :o5, 1948935600
|
||||
tz.transition 2031, 10, :o5, 1950145200
|
||||
tz.transition 2032, 3, :o4, 1963447200
|
||||
tz.transition 2032, 10, :o5, 1980385200
|
||||
tz.transition 2032, 10, :o5, 1981594800
|
||||
tz.transition 2033, 3, :o4, 1994896800
|
||||
tz.transition 2033, 10, :o5, 2011834800
|
||||
tz.transition 2033, 10, :o5, 2013044400
|
||||
tz.transition 2034, 3, :o4, 2026346400
|
||||
tz.transition 2034, 10, :o5, 2043284400
|
||||
tz.transition 2034, 10, :o5, 2044494000
|
||||
tz.transition 2035, 3, :o4, 2057796000
|
||||
tz.transition 2035, 10, :o5, 2075338800
|
||||
tz.transition 2035, 10, :o5, 2076548400
|
||||
tz.transition 2036, 3, :o4, 2089245600
|
||||
tz.transition 2036, 10, :o5, 2106788400
|
||||
tz.transition 2036, 10, :o5, 2107998000
|
||||
tz.transition 2037, 3, :o4, 2120695200
|
||||
tz.transition 2037, 10, :o5, 2138238000
|
||||
tz.transition 2037, 10, :o5, 2139447600
|
||||
tz.transition 2038, 3, :o4, 29586043, 12
|
||||
tz.transition 2038, 10, :o5, 19725597, 8
|
||||
tz.transition 2038, 10, :o5, 19725709, 8
|
||||
tz.transition 2039, 3, :o4, 29590411, 12
|
||||
tz.transition 2039, 10, :o5, 19728509, 8
|
||||
tz.transition 2039, 10, :o5, 19728621, 8
|
||||
tz.transition 2040, 3, :o4, 29594779, 12
|
||||
tz.transition 2040, 10, :o5, 19731477, 8
|
||||
tz.transition 2040, 10, :o5, 19731589, 8
|
||||
tz.transition 2041, 3, :o4, 29599147, 12
|
||||
tz.transition 2041, 10, :o5, 19734389, 8
|
||||
tz.transition 2041, 10, :o5, 19734501, 8
|
||||
tz.transition 2042, 3, :o4, 29603515, 12
|
||||
tz.transition 2042, 10, :o5, 19737301, 8
|
||||
tz.transition 2042, 10, :o5, 19737413, 8
|
||||
tz.transition 2043, 3, :o4, 29607883, 12
|
||||
tz.transition 2043, 10, :o5, 19740213, 8
|
||||
tz.transition 2043, 10, :o5, 19740325, 8
|
||||
tz.transition 2044, 3, :o4, 29612335, 12
|
||||
tz.transition 2044, 10, :o5, 19743125, 8
|
||||
tz.transition 2044, 10, :o5, 19743237, 8
|
||||
tz.transition 2045, 3, :o4, 29616703, 12
|
||||
tz.transition 2045, 10, :o5, 19746037, 8
|
||||
tz.transition 2045, 10, :o5, 19746149, 8
|
||||
tz.transition 2046, 3, :o4, 29621071, 12
|
||||
tz.transition 2046, 10, :o5, 19749005, 8
|
||||
tz.transition 2046, 10, :o5, 19749117, 8
|
||||
tz.transition 2047, 3, :o4, 29625439, 12
|
||||
tz.transition 2047, 10, :o5, 19751917, 8
|
||||
tz.transition 2047, 10, :o5, 19752029, 8
|
||||
tz.transition 2048, 3, :o4, 29629807, 12
|
||||
tz.transition 2048, 10, :o5, 19754829, 8
|
||||
tz.transition 2048, 10, :o5, 19754941, 8
|
||||
tz.transition 2049, 3, :o4, 29634259, 12
|
||||
tz.transition 2049, 10, :o5, 19757741, 8
|
||||
tz.transition 2049, 10, :o5, 19757853, 8
|
||||
tz.transition 2050, 3, :o4, 29638627, 12
|
||||
end
|
||||
end
|
|
@ -5,12 +5,12 @@ module TZInfo
|
|||
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
|
|
@ -22,7 +22,7 @@ module TZInfo
|
|||
tz.transition 2002, 4, :o5, 1018119660
|
||||
tz.transition 2002, 10, :o4, 1033840860
|
||||
tz.transition 2008, 5, :o5, 1212260400
|
||||
tz.transition 2008, 8, :o4, 1220205600
|
||||
tz.transition 2008, 10, :o4, 1225476000
|
||||
end
|
||||
end
|
||||
end
|
|
@ -31,7 +31,7 @@ module TZInfo
|
|||
tz.transition 1945, 11, :o1, 58362661, 24
|
||||
tz.transition 1946, 4, :o2, 58366189, 24
|
||||
tz.transition 1946, 10, :o1, 58370413, 24
|
||||
tz.transition 1947, 4, :o2, 58374757, 24
|
||||
tz.transition 1947, 4, :o2, 29187379, 12
|
||||
tz.transition 1947, 5, :o3, 58375597, 24
|
||||
tz.transition 1947, 6, :o2, 4864731, 2
|
||||
tz.transition 1947, 10, :o1, 58379125, 24
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue