tzinfo-data 1.2015.6 → 1.2015.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjMzMTM2NDIyZWY0ZWNiMTAwZDhiODZjMmE5NjJhM2E1NzJiYzY5Mg==
4
+ MDU3MzEzOTRmYWI3YTYzZTNkNzY3YzA5YzYyZDJlOWU3YzZhNWI2Nw==
5
5
  data.tar.gz: !binary |-
6
- YTU5YzI1MDg4YTlmNmUzNzlkOTU4OWEwYzA0NmQ1NTU0YzZlMzgzYw==
6
+ MmFjMDVhNjAyZTNlNDA4MGE1ZjFjZTYyMmMxZDUyMmNhMzdhZWI0NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjE5N2IxOWMwNzgzMWZiMGU0YzgyMjkxNTM1ZjNhMzE1NTI2OGI1OTY2YWRl
10
- ZDk2Zjg2ZWQ2ZDYxMzlmZGFjYzk5MjgzMjg1NjdkZDc1N2IzOWUxYzBiODJl
11
- OTA4MTg5ZmRjNDk0M2Q3ZTQ2ZThkNzM2YmUzZjNiYmVlMzhjZWM=
9
+ MDFkNGJjOTU2MWFhOTUzNmU1NjdlMWFlODA5YTE4NmE2NDVkOTUwZGQ4NWYz
10
+ MWE2YmI3NDY2NDAzOTQwZGQ4OGI4NWMyZGY4YTMyNTBiYWFkZTA4NTIwZjc5
11
+ ZWJmNjViOWJiYzYzZjZkNGUyZjkxNjYyMTQ2NjI2ZTNkMGU5MDQ=
12
12
  data.tar.gz: !binary |-
13
- OWYwZjM5MmQ0MzliYWUyOGNlYTc3MWZmZWJjZjE2MTBiNzYwNWY1Y2MwYWVk
14
- ODFhYzQzYjA2OWM5ODdkZGMxMDkzZTA5YjU3MGM2NGQ2MjdjNjU4NmRiN2Zm
15
- MzdkYmExNzQ0NTEyZjBmOWMxNjFlZWY4NDQ3NjY1YmE3ODc4NTE=
13
+ NGMxNDlhNjBkNzFjYzEwNjkxNTgyYWNhYjg0MzcwMDRkNmI2Njg0ZDY5YzQw
14
+ ZWNhOGMwY2YzNzc5OGFhNWUxYWE5ZWEwMDY5NGM4MTU2MDIyYjM3OThjNDFh
15
+ M2ExNjIxZDViZjA1MmRjYTliYjljMGNhNDM2NjM2ZmNiMGQ5NzA=
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,169 @@
1
+ # encoding: UTF-8
2
+
3
+ # This file contains data derived from the IANA Time Zone Database
4
+ # (http://www.iana.org/time-zones).
5
+
6
+ module TZInfo
7
+ module Data
8
+ module Definitions
9
+ module America
10
+ module Fort_Nelson
11
+ include TimezoneDefinition
12
+
13
+ timezone 'America/Fort_Nelson' do |tz|
14
+ tz.offset :o0, -29447, 0, :LMT
15
+ tz.offset :o1, -28800, 0, :PST
16
+ tz.offset :o2, -28800, 3600, :PDT
17
+ tz.offset :o3, -28800, 3600, :PWT
18
+ tz.offset :o4, -28800, 3600, :PPT
19
+ tz.offset :o5, -25200, 0, :MST
20
+
21
+ tz.transition 1884, 1, :o1, -2713880953, 208152879047, 86400
22
+ tz.transition 1918, 4, :o2, -1632060000, 29060375, 12
23
+ tz.transition 1918, 10, :o1, -1615129200, 19375151, 8
24
+ tz.transition 1942, 2, :o3, -880207200, 29164799, 12
25
+ tz.transition 1945, 8, :o4, -769395600, 58360379, 24
26
+ tz.transition 1945, 9, :o1, -765385200, 19453831, 8
27
+ tz.transition 1947, 4, :o2, -715788000, 29187635, 12
28
+ tz.transition 1947, 9, :o1, -702486000, 19459655, 8
29
+ tz.transition 1948, 4, :o2, -684338400, 29192003, 12
30
+ tz.transition 1948, 9, :o1, -671036400, 19462567, 8
31
+ tz.transition 1949, 4, :o2, -652888800, 29196371, 12
32
+ tz.transition 1949, 9, :o1, -639586800, 19465479, 8
33
+ tz.transition 1950, 4, :o2, -620834400, 29200823, 12
34
+ tz.transition 1950, 9, :o1, -608137200, 19468391, 8
35
+ tz.transition 1951, 4, :o2, -589384800, 29205191, 12
36
+ tz.transition 1951, 9, :o1, -576082800, 19471359, 8
37
+ tz.transition 1952, 4, :o2, -557935200, 29209559, 12
38
+ tz.transition 1952, 9, :o1, -544633200, 19474271, 8
39
+ tz.transition 1953, 4, :o2, -526485600, 29213927, 12
40
+ tz.transition 1953, 9, :o1, -513183600, 19477183, 8
41
+ tz.transition 1954, 4, :o2, -495036000, 29218295, 12
42
+ tz.transition 1954, 9, :o1, -481734000, 19480095, 8
43
+ tz.transition 1955, 4, :o2, -463586400, 29222663, 12
44
+ tz.transition 1955, 9, :o1, -450284400, 19483007, 8
45
+ tz.transition 1956, 4, :o2, -431532000, 29227115, 12
46
+ tz.transition 1956, 9, :o1, -418230000, 19485975, 8
47
+ tz.transition 1957, 4, :o2, -400082400, 29231483, 12
48
+ tz.transition 1957, 9, :o1, -386780400, 19488887, 8
49
+ tz.transition 1958, 4, :o2, -368632800, 29235851, 12
50
+ tz.transition 1958, 9, :o1, -355330800, 19491799, 8
51
+ tz.transition 1959, 4, :o2, -337183200, 29240219, 12
52
+ tz.transition 1959, 9, :o1, -323881200, 19494711, 8
53
+ tz.transition 1960, 4, :o2, -305733600, 29244587, 12
54
+ tz.transition 1960, 9, :o1, -292431600, 19497623, 8
55
+ tz.transition 1961, 4, :o2, -273679200, 29249039, 12
56
+ tz.transition 1961, 9, :o1, -260982000, 19500535, 8
57
+ tz.transition 1962, 4, :o2, -242229600, 29253407, 12
58
+ tz.transition 1962, 10, :o1, -226508400, 19503727, 8
59
+ tz.transition 1963, 4, :o2, -210780000, 29257775, 12
60
+ tz.transition 1963, 10, :o1, -195058800, 19506639, 8
61
+ tz.transition 1964, 4, :o2, -179330400, 29262143, 12
62
+ tz.transition 1964, 10, :o1, -163609200, 19509551, 8
63
+ tz.transition 1965, 4, :o2, -147880800, 29266511, 12
64
+ tz.transition 1965, 10, :o1, -131554800, 19512519, 8
65
+ tz.transition 1966, 4, :o2, -116431200, 29270879, 12
66
+ tz.transition 1966, 10, :o1, -100105200, 19515431, 8
67
+ tz.transition 1967, 4, :o2, -84376800, 29275331, 12
68
+ tz.transition 1967, 10, :o1, -68655600, 19518343, 8
69
+ tz.transition 1968, 4, :o2, -52927200, 29279699, 12
70
+ tz.transition 1968, 10, :o1, -37206000, 19521255, 8
71
+ tz.transition 1969, 4, :o2, -21477600, 29284067, 12
72
+ tz.transition 1969, 10, :o1, -5756400, 19524167, 8
73
+ tz.transition 1970, 4, :o2, 9972000
74
+ tz.transition 1970, 10, :o1, 25693200
75
+ tz.transition 1971, 4, :o2, 41421600
76
+ tz.transition 1971, 10, :o1, 57747600
77
+ tz.transition 1972, 4, :o2, 73476000
78
+ tz.transition 1972, 10, :o1, 89197200
79
+ tz.transition 1973, 4, :o2, 104925600
80
+ tz.transition 1973, 10, :o1, 120646800
81
+ tz.transition 1974, 4, :o2, 136375200
82
+ tz.transition 1974, 10, :o1, 152096400
83
+ tz.transition 1975, 4, :o2, 167824800
84
+ tz.transition 1975, 10, :o1, 183546000
85
+ tz.transition 1976, 4, :o2, 199274400
86
+ tz.transition 1976, 10, :o1, 215600400
87
+ tz.transition 1977, 4, :o2, 230724000
88
+ tz.transition 1977, 10, :o1, 247050000
89
+ tz.transition 1978, 4, :o2, 262778400
90
+ tz.transition 1978, 10, :o1, 278499600
91
+ tz.transition 1979, 4, :o2, 294228000
92
+ tz.transition 1979, 10, :o1, 309949200
93
+ tz.transition 1980, 4, :o2, 325677600
94
+ tz.transition 1980, 10, :o1, 341398800
95
+ tz.transition 1981, 4, :o2, 357127200
96
+ tz.transition 1981, 10, :o1, 372848400
97
+ tz.transition 1982, 4, :o2, 388576800
98
+ tz.transition 1982, 10, :o1, 404902800
99
+ tz.transition 1983, 4, :o2, 420026400
100
+ tz.transition 1983, 10, :o1, 436352400
101
+ tz.transition 1984, 4, :o2, 452080800
102
+ tz.transition 1984, 10, :o1, 467802000
103
+ tz.transition 1985, 4, :o2, 483530400
104
+ tz.transition 1985, 10, :o1, 499251600
105
+ tz.transition 1986, 4, :o2, 514980000
106
+ tz.transition 1986, 10, :o1, 530701200
107
+ tz.transition 1987, 4, :o2, 544615200
108
+ tz.transition 1987, 10, :o1, 562150800
109
+ tz.transition 1988, 4, :o2, 576064800
110
+ tz.transition 1988, 10, :o1, 594205200
111
+ tz.transition 1989, 4, :o2, 607514400
112
+ tz.transition 1989, 10, :o1, 625654800
113
+ tz.transition 1990, 4, :o2, 638964000
114
+ tz.transition 1990, 10, :o1, 657104400
115
+ tz.transition 1991, 4, :o2, 671018400
116
+ tz.transition 1991, 10, :o1, 688554000
117
+ tz.transition 1992, 4, :o2, 702468000
118
+ tz.transition 1992, 10, :o1, 720003600
119
+ tz.transition 1993, 4, :o2, 733917600
120
+ tz.transition 1993, 10, :o1, 752058000
121
+ tz.transition 1994, 4, :o2, 765367200
122
+ tz.transition 1994, 10, :o1, 783507600
123
+ tz.transition 1995, 4, :o2, 796816800
124
+ tz.transition 1995, 10, :o1, 814957200
125
+ tz.transition 1996, 4, :o2, 828871200
126
+ tz.transition 1996, 10, :o1, 846406800
127
+ tz.transition 1997, 4, :o2, 860320800
128
+ tz.transition 1997, 10, :o1, 877856400
129
+ tz.transition 1998, 4, :o2, 891770400
130
+ tz.transition 1998, 10, :o1, 909306000
131
+ tz.transition 1999, 4, :o2, 923220000
132
+ tz.transition 1999, 10, :o1, 941360400
133
+ tz.transition 2000, 4, :o2, 954669600
134
+ tz.transition 2000, 10, :o1, 972810000
135
+ tz.transition 2001, 4, :o2, 986119200
136
+ tz.transition 2001, 10, :o1, 1004259600
137
+ tz.transition 2002, 4, :o2, 1018173600
138
+ tz.transition 2002, 10, :o1, 1035709200
139
+ tz.transition 2003, 4, :o2, 1049623200
140
+ tz.transition 2003, 10, :o1, 1067158800
141
+ tz.transition 2004, 4, :o2, 1081072800
142
+ tz.transition 2004, 10, :o1, 1099213200
143
+ tz.transition 2005, 4, :o2, 1112522400
144
+ tz.transition 2005, 10, :o1, 1130662800
145
+ tz.transition 2006, 4, :o2, 1143972000
146
+ tz.transition 2006, 10, :o1, 1162112400
147
+ tz.transition 2007, 3, :o2, 1173607200
148
+ tz.transition 2007, 11, :o1, 1194166800
149
+ tz.transition 2008, 3, :o2, 1205056800
150
+ tz.transition 2008, 11, :o1, 1225616400
151
+ tz.transition 2009, 3, :o2, 1236506400
152
+ tz.transition 2009, 11, :o1, 1257066000
153
+ tz.transition 2010, 3, :o2, 1268560800
154
+ tz.transition 2010, 11, :o1, 1289120400
155
+ tz.transition 2011, 3, :o2, 1300010400
156
+ tz.transition 2011, 11, :o1, 1320570000
157
+ tz.transition 2012, 3, :o2, 1331460000
158
+ tz.transition 2012, 11, :o1, 1352019600
159
+ tz.transition 2013, 3, :o2, 1362909600
160
+ tz.transition 2013, 11, :o1, 1383469200
161
+ tz.transition 2014, 3, :o2, 1394359200
162
+ tz.transition 2014, 11, :o1, 1414918800
163
+ tz.transition 2015, 3, :o5, 1425808800
164
+ end
165
+ end
166
+ end
167
+ end
168
+ end
169
+ end
@@ -144,7 +144,7 @@ module TZInfo
144
144
  tz.transition 2014, 3, :o3, 1396227600
145
145
  tz.transition 2014, 10, :o2, 1414285200
146
146
  tz.transition 2015, 3, :o3, 1427590800
147
- tz.transition 2015, 10, :o2, 1445734800
147
+ tz.transition 2015, 11, :o2, 1446944400
148
148
  tz.transition 2016, 3, :o3, 1459040400
149
149
  tz.transition 2016, 10, :o2, 1477789200
150
150
  tz.transition 2017, 3, :o3, 1490490000
@@ -33,9 +33,9 @@ module TZInfo
33
33
  tz.transition 2014, 11, :o2, 1414850400
34
34
  tz.transition 2015, 1, :o1, 1421503200
35
35
  tz.transition 2015, 10, :o2, 1446300000
36
- tz.transition 2016, 1, :o1, 1453557600
36
+ tz.transition 2016, 1, :o1, 1452952800
37
37
  tz.transition 2016, 11, :o2, 1478354400
38
- tz.transition 2017, 1, :o1, 1485007200
38
+ tz.transition 2017, 1, :o1, 1484402400
39
39
  tz.transition 2017, 11, :o2, 1509804000
40
40
  tz.transition 2018, 1, :o1, 1516456800
41
41
  tz.transition 2018, 11, :o2, 1541253600
@@ -43,11 +43,11 @@ module TZInfo
43
43
  tz.transition 2019, 11, :o2, 1572703200
44
44
  tz.transition 2020, 1, :o1, 1579356000
45
45
  tz.transition 2020, 10, :o2, 1604152800
46
- tz.transition 2021, 1, :o1, 1611410400
46
+ tz.transition 2021, 1, :o1, 1610805600
47
47
  tz.transition 2021, 11, :o2, 1636207200
48
- tz.transition 2022, 1, :o1, 1642860000
48
+ tz.transition 2022, 1, :o1, 1642255200
49
49
  tz.transition 2022, 11, :o2, 1667656800
50
- tz.transition 2023, 1, :o1, 1674309600
50
+ tz.transition 2023, 1, :o1, 1673704800
51
51
  tz.transition 2023, 11, :o2, 1699106400
52
52
  tz.transition 2024, 1, :o1, 1705759200
53
53
  tz.transition 2024, 11, :o2, 1730556000
@@ -55,9 +55,9 @@ module TZInfo
55
55
  tz.transition 2025, 11, :o2, 1762005600
56
56
  tz.transition 2026, 1, :o1, 1768658400
57
57
  tz.transition 2026, 10, :o2, 1793455200
58
- tz.transition 2027, 1, :o1, 1800712800
58
+ tz.transition 2027, 1, :o1, 1800108000
59
59
  tz.transition 2027, 11, :o2, 1825509600
60
- tz.transition 2028, 1, :o1, 1832162400
60
+ tz.transition 2028, 1, :o1, 1831557600
61
61
  tz.transition 2028, 11, :o2, 1856959200
62
62
  tz.transition 2029, 1, :o1, 1863612000
63
63
  tz.transition 2029, 11, :o2, 1888408800
@@ -67,9 +67,9 @@ module TZInfo
67
67
  tz.transition 2031, 11, :o2, 1951308000
68
68
  tz.transition 2032, 1, :o1, 1957960800
69
69
  tz.transition 2032, 11, :o2, 1983362400
70
- tz.transition 2033, 1, :o1, 1990015200
70
+ tz.transition 2033, 1, :o1, 1989410400
71
71
  tz.transition 2033, 11, :o2, 2014812000
72
- tz.transition 2034, 1, :o1, 2021464800
72
+ tz.transition 2034, 1, :o1, 2020860000
73
73
  tz.transition 2034, 11, :o2, 2046261600
74
74
  tz.transition 2035, 1, :o1, 2052914400
75
75
  tz.transition 2035, 11, :o2, 2077711200
@@ -77,11 +77,11 @@ module TZInfo
77
77
  tz.transition 2036, 11, :o2, 2109160800
78
78
  tz.transition 2037, 1, :o1, 2115813600
79
79
  tz.transition 2037, 10, :o2, 2140610400
80
- tz.transition 2038, 1, :o1, 2147868000, 29585365, 12
80
+ tz.transition 2038, 1, :o1, 2147263200
81
81
  tz.transition 2038, 11, :o2, 2172664800, 29588809, 12
82
- tz.transition 2039, 1, :o1, 2179317600, 29589733, 12
82
+ tz.transition 2039, 1, :o1, 2178712800, 29589649, 12
83
83
  tz.transition 2039, 11, :o2, 2204114400, 29593177, 12
84
- tz.transition 2040, 1, :o1, 2210767200, 29594101, 12
84
+ tz.transition 2040, 1, :o1, 2210162400, 29594017, 12
85
85
  tz.transition 2040, 11, :o2, 2235564000, 29597545, 12
86
86
  tz.transition 2041, 1, :o1, 2242216800, 29598469, 12
87
87
  tz.transition 2041, 11, :o2, 2267013600, 29601913, 12
@@ -89,9 +89,9 @@ module TZInfo
89
89
  tz.transition 2042, 11, :o2, 2298463200, 29606281, 12
90
90
  tz.transition 2043, 1, :o1, 2305116000, 29607205, 12
91
91
  tz.transition 2043, 10, :o2, 2329912800, 29610649, 12
92
- tz.transition 2044, 1, :o1, 2337170400, 29611657, 12
92
+ tz.transition 2044, 1, :o1, 2336565600, 29611573, 12
93
93
  tz.transition 2044, 11, :o2, 2361967200, 29615101, 12
94
- tz.transition 2045, 1, :o1, 2368620000, 29616025, 12
94
+ tz.transition 2045, 1, :o1, 2368015200, 29615941, 12
95
95
  tz.transition 2045, 11, :o2, 2393416800, 29619469, 12
96
96
  tz.transition 2046, 1, :o1, 2400069600, 29620393, 12
97
97
  tz.transition 2046, 11, :o2, 2424866400, 29623837, 12
@@ -99,11 +99,11 @@ module TZInfo
99
99
  tz.transition 2047, 11, :o2, 2456316000, 29628205, 12
100
100
  tz.transition 2048, 1, :o1, 2462968800, 29629129, 12
101
101
  tz.transition 2048, 10, :o2, 2487765600, 29632573, 12
102
- tz.transition 2049, 1, :o1, 2495023200, 29633581, 12
102
+ tz.transition 2049, 1, :o1, 2494418400, 29633497, 12
103
103
  tz.transition 2049, 11, :o2, 2519820000, 29637025, 12
104
- tz.transition 2050, 1, :o1, 2526472800, 29637949, 12
104
+ tz.transition 2050, 1, :o1, 2525868000, 29637865, 12
105
105
  tz.transition 2050, 11, :o2, 2551269600, 29641393, 12
106
- tz.transition 2051, 1, :o1, 2557922400, 29642317, 12
106
+ tz.transition 2051, 1, :o1, 2557317600, 29642233, 12
107
107
  tz.transition 2051, 11, :o2, 2582719200, 29645761, 12
108
108
  tz.transition 2052, 1, :o1, 2589372000, 29646685, 12
109
109
  tz.transition 2052, 11, :o2, 2614168800, 29650129, 12
@@ -111,9 +111,9 @@ module TZInfo
111
111
  tz.transition 2053, 11, :o2, 2645618400, 29654497, 12
112
112
  tz.transition 2054, 1, :o1, 2652271200, 29655421, 12
113
113
  tz.transition 2054, 10, :o2, 2677068000, 29658865, 12
114
- tz.transition 2055, 1, :o1, 2684325600, 29659873, 12
114
+ tz.transition 2055, 1, :o1, 2683720800, 29659789, 12
115
115
  tz.transition 2055, 11, :o2, 2709122400, 29663317, 12
116
- tz.transition 2056, 1, :o1, 2715775200, 29664241, 12
116
+ tz.transition 2056, 1, :o1, 2715170400, 29664157, 12
117
117
  tz.transition 2056, 11, :o2, 2740572000, 29667685, 12
118
118
  tz.transition 2057, 1, :o1, 2747224800, 29668609, 12
119
119
  tz.transition 2057, 11, :o2, 2772021600, 29672053, 12
@@ -123,9 +123,9 @@ module TZInfo
123
123
  tz.transition 2059, 11, :o2, 2834920800, 29680789, 12
124
124
  tz.transition 2060, 1, :o1, 2841573600, 29681713, 12
125
125
  tz.transition 2060, 11, :o2, 2866975200, 29685241, 12
126
- tz.transition 2061, 1, :o1, 2873628000, 29686165, 12
126
+ tz.transition 2061, 1, :o1, 2873023200, 29686081, 12
127
127
  tz.transition 2061, 11, :o2, 2898424800, 29689609, 12
128
- tz.transition 2062, 1, :o1, 2905077600, 29690533, 12
128
+ tz.transition 2062, 1, :o1, 2904472800, 29690449, 12
129
129
  tz.transition 2062, 11, :o2, 2929874400, 29693977, 12
130
130
  tz.transition 2063, 1, :o1, 2936527200, 29694901, 12
131
131
  tz.transition 2063, 11, :o2, 2961324000, 29698345, 12
@@ -14,9 +14,14 @@ module TZInfo
14
14
  tz.offset :o0, 40312, 0, :LMT
15
15
  tz.offset :o1, 40320, 0, :NMT
16
16
  tz.offset :o2, 41400, 0, :NFT
17
+ tz.offset :o3, 41400, 3600, :NFST
18
+ tz.offset :o4, 39600, 0, :NFT
17
19
 
18
20
  tz.transition 1900, 12, :o1, -2177493112, 26086158361, 10800
19
21
  tz.transition 1950, 12, :o2, -599656320, 73009411, 30
22
+ tz.transition 1974, 10, :o3, 152029800
23
+ tz.transition 1975, 3, :o2, 162912600
24
+ tz.transition 2015, 10, :o4, 1443882600
20
25
  end
21
26
  end
22
27
  end
@@ -190,6 +190,7 @@ module TZInfo
190
190
  c.timezone 'America/Inuvik', 246059, 3600, -8023, 60, 'Mountain Time - west Northwest Territories'
191
191
  c.timezone 'America/Creston', 491, 10, -6991, 60, 'Mountain Standard Time - Creston, British Columbia'
192
192
  c.timezone 'America/Dawson_Creek', 1793, 30, -3607, 30, 'Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia'
193
+ c.timezone 'America/Fort_Nelson', 294, 5, -1227, 10, 'Mountain Standard Time - Fort Nelson, British Columbia'
193
194
  c.timezone 'America/Vancouver', 739, 15, -7387, 60, 'Pacific Time - west British Columbia'
194
195
  c.timezone 'America/Whitehorse', 3643, 60, -2701, 20, 'Pacific Time - south Yukon'
195
196
  c.timezone 'America/Dawson', 961, 15, -1673, 12, 'Pacific Time - north Yukon'
@@ -120,6 +120,7 @@ module TZInfo
120
120
  timezone 'America/Eirunepe'
121
121
  timezone 'America/El_Salvador'
122
122
  linked_timezone 'America/Ensenada'
123
+ timezone 'America/Fort_Nelson'
123
124
  linked_timezone 'America/Fort_Wayne'
124
125
  timezone 'America/Fortaleza'
125
126
  timezone 'America/Glace_Bay'
@@ -718,7 +718,7 @@ module TZInfo
718
718
 
719
719
  if observance.rule_set.count == 0
720
720
  std_offset = observance.std_offset
721
- start_zone_id = observance.format.expand(std_offset, nil)
721
+ start_zone_id = observance.format.expand(utc_offset, std_offset, nil)
722
722
 
723
723
  if use_start
724
724
  transitions << TZDataTransition.new(start_time, utc_offset, std_offset, start_zone_id)
@@ -763,23 +763,23 @@ module TZInfo
763
763
  if earliest.at < start_time
764
764
  start_utc_offset = observance.utc_offset
765
765
  start_std_offset = std_offset
766
- start_zone_id = observance.format.expand(earliest.rule.save, earliest.rule.letter)
766
+ start_zone_id = observance.format.expand(start_utc_offset, earliest.rule.save, earliest.rule.letter)
767
767
  next
768
768
  end
769
769
 
770
770
  if start_zone_id.nil? && start_utc_offset + start_std_offset == observance.utc_offset + std_offset
771
- start_zone_id = observance.format.expand(earliest.rule.save, earliest.rule.letter)
771
+ start_zone_id = observance.format.expand(start_utc_offset, earliest.rule.save, earliest.rule.letter)
772
772
  end
773
773
  end
774
774
 
775
- zone_id = observance.format.expand(earliest.rule.save, earliest.rule.letter)
775
+ zone_id = observance.format.expand(observance.utc_offset, earliest.rule.save, earliest.rule.letter)
776
776
  transitions << TZDataTransition.new(earliest.at, observance.utc_offset, earliest.rule.save, zone_id)
777
777
  end
778
778
  }
779
779
  end
780
780
 
781
781
  if use_start
782
- start_zone_id = observance.format.expand(nil, nil) if start_zone_id.nil? && observance.format.fixed?
782
+ start_zone_id = observance.format.expand(nil, nil, nil) if start_zone_id.nil? && observance.format.fixed?
783
783
  raise 'Could not determine time zone abbreviation to use just after until time' if start_zone_id.nil?
784
784
  transitions << TZDataTransition.new(start_time, start_utc_offset, start_std_offset, start_zone_id)
785
785
  end
@@ -1201,7 +1201,7 @@ module TZInfo
1201
1201
  @type = :alternate
1202
1202
  @standard_abbrev = $1
1203
1203
  @daylight_abbrev = $2
1204
- elsif spec =~ /%s/
1204
+ elsif spec =~ /%[sz]/
1205
1205
  @type = :subst
1206
1206
  @abbrev = spec
1207
1207
  else
@@ -1210,8 +1210,9 @@ module TZInfo
1210
1210
  end
1211
1211
  end
1212
1212
 
1213
- # Expands given the current daylight savings offset and Rule string.
1214
- def expand(std_offset, rule_string)
1213
+ # Expands given the base offset to UTC, the current daylight savings
1214
+ # offset and rule string.
1215
+ def expand(utc_offset, std_offset, rule_string)
1215
1216
  if @type == :alternate
1216
1217
  if std_offset == 0
1217
1218
  @standard_abbrev
@@ -1219,14 +1220,16 @@ module TZInfo
1219
1220
  @daylight_abbrev
1220
1221
  end
1221
1222
  elsif @type == :subst
1222
- sprintf(@abbrev, rule_string)
1223
+ @abbrev.gsub(/%([sz])/) do
1224
+ $1 == 's' ? rule_string : format_offset(utc_offset + std_offset)
1225
+ end
1223
1226
  else
1224
1227
  @abbrev
1225
1228
  end
1226
1229
  end
1227
1230
 
1228
- # True if a string from the rule is required to expand this format.
1229
- def requires_rule_string?
1231
+ # True if the format requires substitutions (%s or %z).
1232
+ def subst?
1230
1233
  @type == :subst
1231
1234
  end
1232
1235
 
@@ -1234,6 +1237,38 @@ module TZInfo
1234
1237
  def fixed?
1235
1238
  @type == :fixed
1236
1239
  end
1240
+
1241
+ private
1242
+
1243
+ # Formats an offset according to the rules for %z.
1244
+ def format_offset(offset)
1245
+ if offset < 0
1246
+ offset = -offset
1247
+ sign = '-'
1248
+ else
1249
+ sign = '+'
1250
+ end
1251
+
1252
+ offset, seconds = offset.divmod(60)
1253
+ offset, minutes = offset.divmod(60)
1254
+
1255
+ if offset > 99
1256
+ # unsupported
1257
+ '%z'
1258
+ else
1259
+ result = "#{sign}#{offset.to_s.rjust(2, '0')}"
1260
+
1261
+ if minutes != 0 || seconds != 0
1262
+ result << minutes.to_s.rjust(2, '0')
1263
+
1264
+ if seconds != 0
1265
+ result << seconds.to_s.rjust(2, '0')
1266
+ end
1267
+ end
1268
+
1269
+ result
1270
+ end
1271
+ end
1237
1272
  end
1238
1273
 
1239
1274
  # A location (latitude + longitude)
@@ -1,7 +1,7 @@
1
1
  module TZInfo
2
2
  module Data
3
3
  # TZInfo::Data version number.
4
- VERSION = '1.2015.6'
4
+ VERSION = '1.2015.7'
5
5
 
6
6
  # TZInfo::Data version information.
7
7
  module Version
@@ -14,7 +14,7 @@ module TZInfo
14
14
 
15
15
  # The version of the {IANA Time Zone Database}[http://www.iana.org/time-zones]
16
16
  # used to generate this version of TZInfo::Data.
17
- TZDATA = '2015f'
17
+ TZDATA = '2015g'
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tzinfo-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2015.6
4
+ version: 1.2015.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Ross
@@ -12,8 +12,8 @@ cert_chain:
12
12
  LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURkRENDQWx5Z0F3SUJB
13
13
  Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJBTVJJd0VBWURWUVFEREFsd2FH
14
14
  bHMKTG5KdmMzTXhGVEFUQmdvSmtpYUprL0lzWkFFWkZnVm5iV0ZwYkRFVE1C
15
- RUdDZ21TSm9tVDhpeGtBUmtXQTJOdgpiVEFlRncweE5EQTVNamd4T1RBNE1E
16
- ZGFGdzB4TlRBNU1qZ3hPVEE0TURkYU1FQXhFakFRQmdOVkJBTU1DWEJvCmFX
15
+ RUdDZ21TSm9tVDhpeGtBUmtXQTJOdgpiVEFlRncweE5URXdNRE14TkRJMU1U
16
+ aGFGdzB4TmpFd01ESXhOREkxTVRoYU1FQXhFakFRQmdOVkJBTU1DWEJvCmFX
17
17
  d3VjbTl6Y3pFVk1CTUdDZ21TSm9tVDhpeGtBUmtXQldkdFlXbHNNUk13RVFZ
18
18
  S0NaSW1pWlB5TEdRQkdSWUQKWTI5dE1JSUJJakFOQmdrcWhraUc5dzBCQVFF
19
19
  RkFBT0NBUThBTUlJQkNnS0NBUUVBa1p6QitxZmhteVkrWFJ2VQp1MzEwTE1U
@@ -28,16 +28,16 @@ cert_chain:
28
28
  UUVBd0lFc0RBZEJnTlZIUTRFRmdRVQpENW56TzkvTUc0QjZ5Z2NoL1B2NlBG
29
29
  OVE1eDh3SGdZRFZSMFJCQmN3RllFVGNHaHBiQzV5YjNOelFHZHRZV2xzCkxt
30
30
  TnZiVEFlQmdOVkhSSUVGekFWZ1JOd2FHbHNMbkp2YzNOQVoyMWhhV3d1WTI5
31
- dE1BMEdDU3FHU0liM0RRRUIKQlFVQUE0SUJBUUNJNFVjbG4wVzQyNUhPYzJt
32
- SWFYa0FpSFdOczFGdi9yQ1ByQkl3QlloalN0VllVRVBDSWhFZgpNUkNxcGVP
33
- b2czK2IzMVNNSXFxSFFjTm5qWTkvWUhlSkNRNXZzUnlOL0E3K25hZlErUGpJ
34
- K0U1SElsNUJkOEhrCm5iaXprY3ZNL3FFOHcySVd1YWRUUnpHemVCb2x6VnA0
35
- Z2wvR0xQOXdUMUgrY1RqQzd6Q2pnYnhud003ekxueEEKRjRYY0tHQXJBTVlk
36
- OEdnSFVUVndNc1lQNFhrTTNDR1d0dWs4cG1nQ28yQ0taQTRQRHJXWWl1byt2
37
- dHdGc2dZSgpoS2U2N0JETnlHNER4SlR1NnRQOTc5WlhhbkNZRURXbXhKTVNt
38
- NEloOXRPYkhyeVpjNnhwMVNzTTRqUFI2TWJ0Ck9XcFc5aUdRSGtmQ2t0ancr
39
- YllkREtWSzhjMFdVNVBOCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
40
- date: 2015-08-12 00:00:00.000000000 Z
31
+ dE1BMEdDU3FHU0liM0RRRUIKQlFVQUE0SUJBUUFYU2FkSTZJRWFsZ0dGMG5r
32
+ M2xhTk5salNOMmM0WW5IOUJYTGpia3FNdUtLekNIM045QkpJdwp1YWpyYWFZ
33
+ RjRQT2U0Ull3b2ZqZ0ZEK3BJSmN5VGhiV0Y4UTBxSFFTQXltK2I4U3RsREtJ
34
+ cWRuVTJXVktqcFNVCi9lNHdJRlF0aE1meEcwYmxCTmVEVEVBbmxEZzhmOWxo
35
+ UlVDNlUvdnRBZmF5WkdSWkFMbEJ4ZjFoTFR1UU04RHEKQlRvQUJPTklOSUp3
36
+ alV6VUVPeDladFRkcWkvbnlsZHFwc0htK3QyQVl4R2FzVVNrQUVmcFZFQ1lu
37
+ ZjlRcE4xNgp0SmJ3UGRTZkZFQTA2VTFMVlRZYmwwYkhmbXFZVFplYjlDRmxH
38
+ TWpMWVNMMk5GRVNuNW9oenQ2aUwreWJQSFg2CjZNWnAybHBaMXZ6RExMTXJG
39
+ NDF4bWR4R1JPdFVyY3l5Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
40
+ date: 2015-10-03 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: tzinfo
@@ -177,6 +177,7 @@ files:
177
177
  - lib/tzinfo/data/definitions/America/Eirunepe.rb
178
178
  - lib/tzinfo/data/definitions/America/El_Salvador.rb
179
179
  - lib/tzinfo/data/definitions/America/Ensenada.rb
180
+ - lib/tzinfo/data/definitions/America/Fort_Nelson.rb
180
181
  - lib/tzinfo/data/definitions/America/Fort_Wayne.rb
181
182
  - lib/tzinfo/data/definitions/America/Fortaleza.rb
182
183
  - lib/tzinfo/data/definitions/America/Glace_Bay.rb
metadata.gz.sig CHANGED
Binary file