Skip to content

Commit d60aac5

Browse files
authored
Fix Sao Paulo bug in zoneinfo_rs (#663)
Dependent on #662. This PR fixes a bug in `zoneinfo_rs` that was causing a failures on Sao Paulo time zone tests. Primary bug fixes are in [feb61e1](feb61e1). The other three commits are adding related to adding tests or rebuilding the compiled data.
1 parent 4e0afcc commit d60aac5

File tree

44 files changed

+1804
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1804
-143
lines changed

provider/src/data/compiled_zoneinfo_provider.rs.data

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

provider/src/data/debug/zoneinfo/map.json

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

provider/src/data/debug/zoneinfo/tzifs/tzif-19d0e567d48830e5-23c7266554230241.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-19d0e567d48830e5-342c0f7d47956e28.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
3,
5858
2,
5959
3,
60+
2,
61+
3,
62+
2,
63+
3,
6064
2
6165
],
6266
"transitions": [
@@ -89,7 +93,11 @@
8993
1114902000,
9094
1128038400,
9195
1143334800,
92-
1162083600
96+
1162083600,
97+
1174784400,
98+
1193533200,
99+
1206838800,
100+
1224982800
93101
],
94102
"types": [
95103
{

provider/src/data/debug/zoneinfo/tzifs/tzif-24bc4f701e560e8f-78dd45753d879f0.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-24bc4f701e560e8f-e2e836c44183123c.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
4,
9292
5,
9393
4,
94-
5
94+
5,
95+
4
9596
],
9697
"transitions": [
9798
-2372097972,
@@ -153,7 +154,8 @@
153154
952052400,
154155
1198983600,
155156
1205632800,
156-
1224385200
157+
1224385200,
158+
1237082400
157159
],
158160
"types": [
159161
{

provider/src/data/debug/zoneinfo/tzifs/tzif-2a2176981e284105-7e236eb2738e530f.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-2a2176981e284105-a060adcd628f6f53.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@
4242
1,
4343
2,
4444
1,
45-
2
45+
2,
46+
1,
47+
2,
48+
1
4649
],
4750
"transitions": [
4851
-2337928528,
@@ -60,7 +63,10 @@
6063
699383700,
6164
1165079700,
6265
1174756500,
63-
1193505300
66+
1193505300,
67+
1206810900,
68+
1224954900,
69+
1238260500
6470
],
6571
"types": [
6672
{

provider/src/data/debug/zoneinfo/tzifs/tzif-3234542952508833-bfca610a3b2da20e.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-3234542952508833-29d7170294df969c.json

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,46 @@
5252
4,
5353
2,
5454
4,
55+
2,
56+
4,
57+
2,
58+
4,
59+
2,
60+
4,
61+
2,
62+
4,
63+
2,
64+
4,
65+
2,
66+
4,
67+
2,
68+
4,
69+
2,
70+
4,
71+
2,
72+
4,
73+
2,
74+
4,
75+
2,
76+
4,
77+
2,
78+
4,
79+
2,
80+
4,
81+
2,
82+
4,
83+
2,
84+
4,
85+
2,
86+
4,
87+
2,
88+
4,
89+
2,
90+
4,
91+
2,
92+
4,
93+
2,
94+
4,
5595
2
5696
],
5797
"transitions": [
@@ -76,7 +116,47 @@
76116
989136000,
77117
1001833200,
78118
1018166400,
79-
1035702000
119+
1035702000,
120+
1049616000,
121+
1067151600,
122+
1081065600,
123+
1099206000,
124+
1112515200,
125+
1130655600,
126+
1143964800,
127+
1162105200,
128+
1175414400,
129+
1193554800,
130+
1207468800,
131+
1225004400,
132+
1238918400,
133+
1256454000,
134+
1270368000,
135+
1288508400,
136+
1301817600,
137+
1319958000,
138+
1333267200,
139+
1351407600,
140+
1365321600,
141+
1382857200,
142+
1396771200,
143+
1414306800,
144+
1428220800,
145+
1445756400,
146+
1459670400,
147+
1477810800,
148+
1491120000,
149+
1509260400,
150+
1522569600,
151+
1540710000,
152+
1554624000,
153+
1572159600,
154+
1586073600,
155+
1603609200,
156+
1617523200,
157+
1635663600,
158+
1648972800,
159+
1667113200
80160
],
81161
"types": [
82162
{

provider/src/data/debug/zoneinfo/tzifs/tzif-3d390ef79718594a-93770338d451503b.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-3d390ef79718594a-824dbf7dde31521a.json

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,46 @@
4343
3,
4444
1,
4545
3,
46+
1,
47+
3,
48+
1,
49+
3,
50+
1,
51+
3,
52+
1,
53+
3,
54+
1,
55+
3,
56+
1,
57+
3,
58+
1,
59+
3,
60+
1,
61+
3,
62+
1,
63+
3,
64+
1,
65+
3,
66+
1,
67+
3,
68+
1,
69+
3,
70+
1,
71+
3,
72+
1,
73+
3,
74+
1,
75+
3,
76+
1,
77+
3,
78+
1,
79+
3,
80+
1,
81+
3,
82+
1,
83+
3,
84+
1,
85+
3,
4686
1
4787
],
4888
"transitions": [
@@ -62,7 +102,47 @@
62102
989136000,
63103
1001833200,
64104
1018166400,
65-
1035702000
105+
1035702000,
106+
1049616000,
107+
1067151600,
108+
1081065600,
109+
1099206000,
110+
1112515200,
111+
1130655600,
112+
1143964800,
113+
1162105200,
114+
1175414400,
115+
1193554800,
116+
1207468800,
117+
1225004400,
118+
1238918400,
119+
1256454000,
120+
1270368000,
121+
1288508400,
122+
1301817600,
123+
1319958000,
124+
1333267200,
125+
1351407600,
126+
1365321600,
127+
1382857200,
128+
1396771200,
129+
1414306800,
130+
1428220800,
131+
1445756400,
132+
1459670400,
133+
1477810800,
134+
1491120000,
135+
1509260400,
136+
1522569600,
137+
1540710000,
138+
1554624000,
139+
1572159600,
140+
1586073600,
141+
1603609200,
142+
1617523200,
143+
1635663600,
144+
1648972800,
145+
1667113200
66146
],
67147
"types": [
68148
{

provider/src/data/debug/zoneinfo/tzifs/tzif-40fb52b19ef81b1d-869a1e65f7e9791e.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-40fb52b19ef81b1d-e605f3c58f3339e9.json

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,46 @@
4848
3,
4949
1,
5050
3,
51+
1,
52+
3,
53+
1,
54+
3,
55+
1,
56+
3,
57+
1,
58+
3,
59+
1,
60+
3,
61+
1,
62+
3,
63+
1,
64+
3,
65+
1,
66+
3,
67+
1,
68+
3,
69+
1,
70+
3,
71+
1,
72+
3,
73+
1,
74+
3,
75+
1,
76+
3,
77+
1,
78+
3,
79+
1,
80+
3,
81+
1,
82+
3,
83+
1,
84+
3,
85+
1,
86+
3,
87+
1,
88+
3,
89+
1,
90+
3,
5191
1
5292
],
5393
"transitions": [
@@ -71,7 +111,47 @@
71111
989139600,
72112
1001836800,
73113
1018170000,
74-
1035705600
114+
1035705600,
115+
1049619600,
116+
1067155200,
117+
1081069200,
118+
1099209600,
119+
1112518800,
120+
1130659200,
121+
1143968400,
122+
1162108800,
123+
1175418000,
124+
1193558400,
125+
1207472400,
126+
1225008000,
127+
1238922000,
128+
1256457600,
129+
1270371600,
130+
1288512000,
131+
1301821200,
132+
1319961600,
133+
1333270800,
134+
1351411200,
135+
1365325200,
136+
1382860800,
137+
1396774800,
138+
1414310400,
139+
1428224400,
140+
1445760000,
141+
1459674000,
142+
1477814400,
143+
1491123600,
144+
1509264000,
145+
1522573200,
146+
1540713600,
147+
1554627600,
148+
1572163200,
149+
1586077200,
150+
1603612800,
151+
1617526800,
152+
1635667200,
153+
1648976400,
154+
1667116800
75155
],
76156
"types": [
77157
{

provider/src/data/debug/zoneinfo/tzifs/tzif-425a92f6316d948f-7a4b0a3818e70043.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-425a92f6316d948f-4f954c3bee3a5359.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@
2323
"transition": null
2424
},
2525
"transition_types": [
26+
1,
27+
2,
2628
1,
2729
2,
2830
1
2931
],
3032
"transitions": [
3133
-1546279392,
3234
547020000,
33-
559717200
35+
559717200,
36+
578469600,
37+
591166800
3438
],
3539
"types": [
3640
{

provider/src/data/debug/zoneinfo/tzifs/tzif-44b31bf3438167a2-75142cab8dd9f4f1.json renamed to provider/src/data/debug/zoneinfo/tzifs/tzif-44b31bf3438167a2-b455583aa9f30974.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
1,
4040
2,
4141
1,
42-
2
42+
2,
43+
1,
44+
2,
45+
1
4346
],
4447
"transitions": [
4548
-2366791928,
@@ -55,7 +58,10 @@
5558
67968000,
5659
625593600,
5760
636480000,
58-
657043200
61+
657043200,
62+
667929600,
63+
688492800,
64+
699379200
5965
],
6066
"types": [
6167
{

0 commit comments

Comments
 (0)