-
Notifications
You must be signed in to change notification settings - Fork 2
/
actions.txt
1053 lines (834 loc) · 34 KB
/
actions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file lists the actions necessary to transform the IANA Time Zone Database to global-tz
# This file is machine readable.
# There is one section for each file to be edited.
# The commands are:
# - "Edit <fileName>" - edit the file <fileName>
# - "Remove Exact Line <textToMatch>" - remove first line that exactly matches <textToMatch>
# - "Remove Line <textToMatch>" - remove first line that starts with <textToMatch>
# - "Remove Lines <textToMatch>" - remove all lines that start with <textToMatch>
# - "Remove Next Line" - removes the next line
# - "Replace Line <newLine>" - replace the current line with <newLine>
# - "Insert Line <newLine>" - insert <newLine> before the current line
# - "Insert Section <header>" - insert a section before the current line
# - "Add Line <newLine>" - add <newLine> after the current line
# - "Find Exact Line <textToMatch>" - finds the first line that exactly matches <textToMatch>
# - "Find Line <textToMatch>" - finds the first line that starts with <textToMatch>
# - "Find Next Line" - finds the next line
# - "Reinstate Rule <name>" - finds the rule <name> in backzone and copies the data
# - "Reinstate Zone <name>" - finds the zone <name> in backzone and copies the data
# - "Reinstate Link <linkPair>" - finds the link to the second part of <linkPair> and change the target
# - "Add Link <linkPair>" - adds the link <linkPair> after the current line
# - "Remove Link <linkPair>" - finds and removes the link <linkPair>
# - "Ensure Link <linkPair>" - ensures that the link <linkPair> exists
#==========================================================
Edit africa
#--------------------------------------
# Fix file layout
Remove Exact Line # Burkina Faso
Remove Exact Line # The Gambia
Remove Exact Line # Ghana
Remove Exact Line # Guinea
Remove Exact Line # Iceland
Remove Exact Line # Mali
Remove Exact Line # Mauritania
Remove Exact Line # St Helena
Remove Exact Line # Senegal
Remove Exact Line # Sierra Leone
Remove Exact Line # Togo
Remove Exact Line # Comoros
Remove Exact Line # Djibouti
Remove Exact Line # Eritrea
Remove Exact Line # Ethiopia
Remove Exact Line # Madagascar
Remove Exact Line # Mayotte
Remove Exact Line # Somalia
Remove Exact Line # Tanzania
Remove Exact Line # Uganda
Remove Exact Line # Botswana
Remove Exact Line # Burundi
Remove Exact Line # Democratic Republic of the Congo (eastern)
Remove Exact Line # Malawi
Remove Exact Line # Rwanda
Remove Exact Line # Zambia
Remove Exact Line # Zimbabwe
Remove Exact Line # Angola
Remove Exact Line # Benin
Remove Exact Line # Cameroon
Remove Exact Line # Central African Republic
Remove Exact Line # Democratic Republic of the Congo (western)
Remove Exact Line # Republic of the Congo
Remove Exact Line # Equatorial Guinea
Remove Exact Line # Gabon
Remove Exact Line # Niger
Remove Exact Line # Eswatini (Swaziland)
Remove Exact Line # Lesotho
Find Exact Line # Cape Verde / Cabo Verde
Insert Section # Cameroon
Insert Section # Burundi
Insert Section # Burkina Faso
Insert Section # Botswana
Insert Section # Benin
Insert Section # Angola
Find Exact Line # Chad
Insert Section # Central African Republic
Find Exact Line # Côte d'Ivoire (Ivory Coast)
Insert Section # Republic of the Congo
Insert Section # Democratic Republic of the Congo
Insert Section # Comoros
Find After Zone Africa/Abidjan
Find Next Line
Insert Section # Djibouti
Find Exact Line # Guinea-Bissau
Insert Section # Guinea
Insert Section # Ghana
Insert Section # The Gambia
Insert Section # Gabon
Insert Section # Ethiopia
Insert Section # Eswatini (formerly Swaziland)
Insert Section # Eritrea
Insert Section # Equatorial Guinea
Find Exact Line # Liberia
Insert Section # Lesotho
Find Exact Line # Mauritius
Insert Section # Mauritania
Insert Section # Mali
Insert Section # Malawi
Insert Section # Madagascar
Find Exact Line # From Alex Krivenyshev (2008-05-09):
Insert Section # Morocco
Insert Section # Mayotte
Find Exact Line # Nigeria
Insert Section # Niger
Find Exact Line # São Tomé and Príncipe
Insert Section # St Helena
Insert Section # Rwanda
Insert Section # Réunion
Find Exact Line # South Africa
Insert Section # Somalia
Insert Section # Sierra Leone
Insert Section # Seychelles
Insert Section # Senegal
Find Exact Line # Tunisia
Insert Section # Togo
Insert Section # Tanzania
Find After Zone Africa/Tunis
Find Next Line
Insert Section # Zimbabwe
Insert Section # Zambia
Insert Section # Uganda
#--------------------------------------
# Zones linked to Africa/Abidjan
# Ensure GH has own primary data, not a link to a different ISO-3166-1 code
Find Line # Ghana
Reinstate Rule Ghana
Reinstate Zone Africa/Accra
Edit backward: Remove Link Africa/Abidjan Africa/Accra
# Ensure ML has own primary data, not a link to a different ISO-3166-1 code
Find Line # Mali
Reinstate Zone Africa/Bamako
Edit backward: Remove Link Africa/Abidjan Africa/Bamako
Edit backward: Reinstate Link Africa/Bamako Africa/Timbuktu
# Ensure GM has own primary data, not a link to a different ISO-3166-1 code
Find Line # The Gambia
Reinstate Zone Africa/Banjul
Edit backward: Remove Link Africa/Abidjan Africa/Banjul
# Ensure GN has own primary data, not a link to a different ISO-3166-1 code
Find Line # Guinea
Reinstate Zone Africa/Conakry
Edit backward: Remove Link Africa/Abidjan Africa/Conakry
# Ensure SN has own primary data, not a link to a different ISO-3166-1 code
Find Line # Senegal
Reinstate Zone Africa/Dakar
Edit backward: Remove Link Africa/Abidjan Africa/Dakar
# Ensure SL has own primary data, not a link to a different ISO-3166-1 code
Find Line # Sierra Leone
Reinstate Rule SL
Reinstate Zone Africa/Freetown
Edit backward: Remove Link Africa/Abidjan Africa/Freetown
# Ensure TG has own primary data, not a link to a different ISO-3166-1 code
Find Line # Togo
Reinstate Zone Africa/Lome
Edit backward: Remove Link Africa/Abidjan Africa/Lome
# Ensure MR has own primary data, not a link to a different ISO-3166-1 code
Find Line # Mauritania
Reinstate Zone Africa/Nouakchott
Edit backward: Remove Link Africa/Abidjan Africa/Nouakchott
# Ensure BF has own primary data, not a link to a different ISO-3166-1 code
Find Line # Burkina Faso
Reinstate Zone Africa/Ouagadougou
Edit backward: Remove Link Africa/Abidjan Africa/Ouagadougou
# Ensure SH has own primary data, not a link to a different ISO-3166-1 code
Find Line # St Helena
Reinstate Zone Atlantic/St_Helena
Edit backward: Remove Link Africa/Abidjan Atlantic/St_Helena
#--------------------------------------
# Zones linked to Africa/Johannesburg
Find Line # South Africa
Remove Next Line
# Ensure LS has own primary data, not a link to a different ISO-3166-1 code
Find Line # Lesotho
Reinstate Zone Africa/Maseru
Edit backward: Remove Link Africa/Johannesburg Africa/Maseru
# Ensure SZ has own primary data, not a link to a different ISO-3166-1 code
Find Line # Eswatini
Reinstate Zone Africa/Mbabane
Edit backward: Remove Link Africa/Johannesburg Africa/Mbabane
#--------------------------------------
# Zones linked to Africa/Lagos
# Ensure CF has own primary data, not a link to a different ISO-3166-1 code
Find Line # Central African Republic
Reinstate Zone Africa/Bangui
Edit backward: Remove Link Africa/Lagos Africa/Bangui
# Ensure CG has own primary data, not a link to a different ISO-3166-1 code
Find Line # Republic of the Congo
Reinstate Zone Africa/Brazzaville
Edit backward: Remove Link Africa/Lagos Africa/Brazzaville
# Ensure CM has own primary data, not a link to a different ISO-3166-1 code
Find Line # Cameroon
Reinstate Zone Africa/Douala
Edit backward: Remove Link Africa/Lagos Africa/Douala
# Ensure CD has own primary data, not links outside of CD
Find Line # Democratic Republic of the Congo
Reinstate Zone Africa/Kinshasa
Reinstate Zone Africa/Lubumbashi
Edit backward: Remove Link Africa/Lagos Africa/Kinshasa
Edit backward: Remove Link Africa/Maputo Africa/Lubumbashi
# Ensure GA has own primary data, not a link to a different ISO-3166-1 code
Find Line # Gabon
Reinstate Zone Africa/Libreville
Edit backward: Remove Link Africa/Lagos Africa/Libreville
# Ensure AO has own primary data, not a link to a different ISO-3166-1 code
Find Line # Angola
Reinstate Zone Africa/Luanda
Edit backward: Remove Link Africa/Lagos Africa/Luanda
# Ensure GQ has own primary data, not a link to a different ISO-3166-1 code
Find Line # Equatorial Guinea
Reinstate Zone Africa/Malabo
Edit backward: Remove Link Africa/Lagos Africa/Malabo
# Ensure NE has own primary data, not a link to a different ISO-3166-1 code
Find Line # Niger
Reinstate Zone Africa/Niamey
Edit backward: Remove Link Africa/Lagos Africa/Niamey
# Ensure BJ has own primary data, not a link to a different ISO-3166-1 code
Find Line # Benin
Reinstate Zone Africa/Porto-Novo
Edit backward: Remove Link Africa/Lagos Africa/Porto-Novo
#--------------------------------------
# Zones linked to Africa/Maputo
# Ensure MW has own primary data, not a link to a different ISO-3166-1 code
Find Line # Malawi
Reinstate Zone Africa/Blantyre
Edit backward: Remove Link Africa/Maputo Africa/Blantyre
# Ensure BI has own primary data, not a link to a different ISO-3166-1 code
Find Line # Burundi
Reinstate Zone Africa/Bujumbura
Edit backward: Remove Link Africa/Maputo Africa/Bujumbura
# Ensure BW has own primary data, not a link to a different ISO-3166-1 code
Find Line # Botswana
Reinstate Zone Africa/Gaborone
Edit backward: Remove Link Africa/Maputo Africa/Gaborone
# Ensure ZW has own primary data, not a link to a different ISO-3166-1 code
Find Line # Zimbabwe
Reinstate Zone Africa/Harare
Edit backward: Remove Link Africa/Maputo Africa/Harare
# Ensure RW has own primary data, not a link to a different ISO-3166-1 code
Find Line # Rwanda
Reinstate Zone Africa/Kigali
Edit backward: Remove Link Africa/Maputo Africa/Kigali
# Ensure ZM has own primary data, not a link to a different ISO-3166-1 code
Find Line # Zambia
Reinstate Zone Africa/Lusaka
Edit backward: Remove Link Africa/Maputo Africa/Lusaka
#--------------------------------------
# Zones linked to Africa/Nairobi
# Ensure ET has own primary data, not a link to a different ISO-3166-1 code
Find Line # Ethiopia
Reinstate Zone Africa/Addis_Ababa
Edit backward: Remove Link Africa/Nairobi Africa/Addis_Ababa
# Ensure ER has own primary data, not a link to a different ISO-3166-1 code
Find Line # Eritrea
Reinstate Zone Africa/Asmara
Edit backward: Reinstate Link Africa/Asmara Africa/Asmera
Edit backward: Remove Link Africa/Nairobi Africa/Asmara
# Ensure TZ has own primary data, not a link to a different ISO-3166-1 code
Find Line # Tanzania
Reinstate Zone Africa/Dar_es_Salaam
Edit backward: Remove Link Africa/Nairobi Africa/Dar_es_Salaam
# Ensure DJ has own primary data, not a link to a different ISO-3166-1 code
Find Line # Djibouti
Reinstate Zone Africa/Djibouti
Edit backward: Remove Link Africa/Nairobi Africa/Djibouti
# Ensure UG has own primary data, not a link to a different ISO-3166-1 code
Find Line # Uganda
Reinstate Zone Africa/Kampala
Edit backward: Remove Link Africa/Nairobi Africa/Kampala
# Ensure SO has own primary data, not a link to a different ISO-3166-1 code
Find Line # Somalia
Reinstate Zone Africa/Mogadishu
Edit backward: Remove Link Africa/Nairobi Africa/Mogadishu
# Ensure MG has own primary data, not a link to a different ISO-3166-1 code
Find Line # Madagascar
Reinstate Zone Indian/Antananarivo
Edit backward: Remove Link Africa/Nairobi Indian/Antananarivo
# Ensure KM has own primary data, not a link to a different ISO-3166-1 code
Find Line # Comoros
Reinstate Zone Indian/Comoro
Edit backward: Remove Link Africa/Nairobi Indian/Comoro
# Ensure YT has own primary data, not a link to a different ISO-3166-1 code
Find Line # Mayotte
Reinstate Zone Indian/Mayotte
Edit backward: Remove Link Africa/Nairobi Indian/Mayotte
#--------------------------------------
# Zones linked to Asia/Dubai
# Ensure RE has own primary data, not a link to a different ISO-3166-1 code
Find Line # Réunion
Reinstate Zone Indian/Reunion
Edit asia: Remove Line # Réunion
Edit backward: Remove Link Asia/Dubai Indian/Reunion
# Ensure SC has own primary data, not a link to a different ISO-3166-1 code
Find Line # Seychelles
Reinstate Zone Indian/Mahe
Edit asia: Remove Line # Seychelles
Edit backward: Remove Link Asia/Dubai Indian/Mahe
#==========================================================
Edit antarctica
#--------------------------------------
# Ensure AQ has own data, not a link to a different ISO-3166-1 code
# McMurdo references NZ rules so must be in australasia file
Edit australasia: Find After Zone Pacific/Auckland
Edit australasia: Add Line
Edit australasia: Reinstate Zone Antarctica/McMurdo
Edit backward: Reinstate Link Antarctica/McMurdo Antarctica/South_Pole
Edit backward: Remove Link Pacific/Auckland Antarctica/McMurdo
Find Line # Dumont d'Urville - see Pacific/Port_Moresby.
Replace Line # Dumont d'Urville, Île des Pétrels, -6640+14001, since 1956-11
Reinstate Zone Antarctica/DumontDUrville
Edit backward: Remove Link Pacific/Port_Moresby Antarctica/DumontDUrville
Find Line # Japan - year-round bases
Add Line # Syowa (also known as Showa), -690022+0393524, since 1957
Reinstate Zone Antarctica/Syowa
Remove Lines # See Asia/Riyadh
Edit backward: Remove Link Asia/Riyadh Antarctica/Syowa
Find Line # Kerguelen
Replace Line # Kerguelen
Reinstate Zone Indian/Kerguelen
Edit backward: Remove Link Indian/Maldives Indian/Kerguelen
#==========================================================
Edit asia
#--------------------------------------
# Fix file layout
Remove Exact Line # Brunei
Remove Exact Line # Cocos (Keeling) Islands
Remove Exact Line # Bahrain
Remove Exact Line # Kuwait
Remove Exact Line # Yemen
Remove Exact Line # Cambodia
Remove Exact Line # Christmas I
Remove Exact Line # Laos
Remove Exact Line # Vietnam (northern)
Remove Exact Line # Oman
Find Exact Line # Bangladesh
Insert Section # Bahrain
Find Exact Line # Myanmar (Burma)
Insert Section # Brunei
Find Exact Line # China
Insert Section # Cambodia
Find Exact Line # Lebanon
Insert Section # Laos
Insert Section # Kuwait
Find Exact Line # Pakistan
Insert Section # Oman
Find Line # For timestamps before 1970, see Asia/Hanoi in the file 'backzone'.
Add Line
Add Line # Yemen
#--------------------------------------
# Zones linked to Asia/Bangkok
# Ensure KH has own primary data, not a link to a different ISO-3166-1 code
Find Line # Cambodia
Reinstate Zone Asia/Phnom_Penh
Edit backward: Remove Link Asia/Bangkok Asia/Phnom_Penh
# Ensure LA has own primary data, not a link to a different ISO-3166-1 code
Find Line # Laos
Reinstate Zone Asia/Vientiane
Edit backward: Remove Link Asia/Bangkok Asia/Vientiane
#--------------------------------------
# Zones linked to Asia/Kuala_Lumpur
Find Line # For peninsular Malaysia
Replace Line # Peninsular Malaysia
Reinstate Zone Asia/Kuala_Lumpur
Edit backward: Remove Link Asia/Singapore Asia/Kuala_Lumpur
#--------------------------------------
# Zones linked to Asia/Kuching
Find Line # Malaysia (eastern)
Remove Next Line
# Ensure BN has own primary data, not a link to a different ISO-3166-1 code
Find Line # Brunei
Reinstate Zone Asia/Brunei
Edit backward: Remove Link Asia/Kuching Asia/Brunei
#--------------------------------------
# Zones linked to Asia/Dubai
# Ensure OM has own primary data, not a link to a different ISO-3166-1 code
Find Line # Oman
Reinstate Zone Asia/Muscat
Edit backward: Remove Link Asia/Dubai Asia/Muscat
#--------------------------------------
# Zones linked to Asia/Qatar
# Ensure BH has own primary data, not a link to a different ISO-3166-1 code
Find Line # Bahrain
Reinstate Zone Asia/Bahrain
Edit backward: Remove Link Asia/Qatar Asia/Bahrain
#--------------------------------------
# Zones linked to Asia/Riyadh
# Ensure YE has own primary data, not a link to a different ISO-3166-1 code
Find Line # Yemen
Reinstate Zone Asia/Aden
Edit backward: Remove Link Asia/Riyadh Asia/Aden
# Ensure KW has own primary data, not a link to a different ISO-3166-1 code
Find Line # Kuwait
Reinstate Zone Asia/Kuwait
Edit backward: Remove Link Asia/Riyadh Asia/Kuwait
#==========================================================
Edit australasia
#--------------------------------------
# Fix file layout
Remove Exact Line # N Mariana Is
Remove Exact Line # Marshall Is
Remove Exact Line # Tuvalu
Remove Exact Line # Wake
Remove Exact Line # Wallis & Futuna
Remove Exact Line # Midway
Find Exact Line # Fiji
Insert Section # Cocos (Keeling) Islands
Insert Section # Christmas
Find Exact Line # Marshall Is
Insert Section # N Mariana Is
Find Exact Line # US minor outlying islands
Insert Section # Tuvalu
Find Exact Line # Palmyra
Insert Section # Midway
Find Exact Line # Vanuatu
Insert Section # Wake
Find After Zone Pacific/Efate
Find Next Line
Insert Section # Wallis and Futuna
#--------------------------------------
# Zones linked to Pacific/Guam
# Ensure MP has own primary data, not a link to a different ISO-3166-1 code
Find Line # N Mariana Is
Reinstate Zone Pacific/Saipan
Edit backward: Remove Link Pacific/Guam Pacific/Saipan
#--------------------------------------
# Zones linked to Pacific/Pago_Pago
# Ensure UM has own data, not a link to a different ISO-3166-1 code
Find Line # Midway
Reinstate Zone Pacific/Midway
Edit backward: Remove Link Pacific/Pago_Pago Pacific/Midway
#--------------------------------------
# Zones linked to Asia/Bangkok
# Ensure CX has own primary data, not a link to a different ISO-3166-1 code
Find Line # Christmas
Reinstate Zone Indian/Christmas
Edit backward: Remove Link Asia/Bangkok Indian/Christmas
#--------------------------------------
# Zones linked to Asia/Yangon
# Ensure CC has own primary data, not a link to a different ISO-3166-1 code
Find Line # Cocos (Keeling) Islands
Reinstate Zone Indian/Cocos
Edit backward: Remove Link Asia/Yangon Indian/Cocos
#--------------------------------------
# Zones linked to Pacific/Tarawa
Remove Lines # See Pacific/Tarawa
# Ensure MH has own primary data, not a link to a different ISO-3166-1 code
Find Line # Marshall Is
Reinstate Zone Pacific/Majuro
Edit backward: Remove Link Pacific/Tarawa Pacific/Majuro
# Ensure MH has own primary data, not a link to a different ISO-3166-1 code
Find Line # Wake
Reinstate Zone Pacific/Wake
Edit backward: Remove Link Pacific/Tarawa Pacific/Wake
# Ensure TV has own primary data, not a link to a different ISO-3166-1 code
Find Line # Tuvalu
Reinstate Zone Pacific/Funafuti
Edit backward: Remove Link Pacific/Tarawa Pacific/Funafuti
# Ensure WF has own primary data, not a link to a different ISO-3166-1 code
Find Line # Wallis
Reinstate Zone Pacific/Wallis
Edit backward: Remove Link Pacific/Tarawa Pacific/Wallis
#--------------------------------------
# Reinstate Micronesia
Find Line # Micronesia
Reinstate Zone Pacific/Chuuk
Reinstate Zone Pacific/Pohnpei
Remove Lines # For Chuuk and Yap see Pacific/Port_Moresby.
Edit backward: Remove Link Pacific/Port_Moresby Pacific/Chuuk
Edit backward: Reinstate Link Pacific/Pohnpei Pacific/Ponape
Edit backward: Reinstate Link Pacific/Chuuk Pacific/Truk
Edit backward: Reinstate Link Pacific/Chuuk Pacific/Yap
Edit backzone: Remove Link Pacific/Chuuk Pacific/Truk
Edit backzone: Remove Link Pacific/Chuuk Pacific/Yap
Edit backzone: Remove Link Pacific/Pohnpei Pacific/Ponape
Remove Lines # For Pohnpei see Pacific/Guadalcanal.
Edit backward: Remove Link Pacific/Guadalcanal Pacific/Pohnpei
#==========================================================
Edit europe
#--------------------------------------
# Fix file layout
Remove Exact Line # Bosnia & Herzegovina
Remove Exact Line # Croatia
Remove Exact Line # Denmark
Remove Exact Line # Germany (Busingen enclave)
Remove Exact Line # Luxembourg
Remove Exact Line # Kosovo
Remove Exact Line # Liechtenstein
Remove Exact Line # Monaco
Remove Exact Line # Montenegro
Remove Exact Line # Netherlands
Remove Exact Line # Norway
Remove Exact Line # North Macedonia
Remove Exact Line # Sweden
Remove Exact Line # San Marino
Remove Exact Line # Slovakia
Remove Exact Line # Slovenia
Remove Exact Line # Svalbard & Jan Mayen
Remove Exact Line # Vatican City
Find Exact Line # Bulgaria
Insert Section # Bosnia & Herzegovina
Find Exact Line # Cyprus
Insert Section # Croatia
Find Exact Line # Faroe Is
Insert Section # Denmark
Find Exact Line # France
Insert Section # Åland Is
Find Exact Line # Italy
Insert Section # Iceland
Find Exact Line # Latvia
Insert Section # Kosovo
Find Exact Line # Lithuania
Insert Section # Liechtenstein
Find Exact Line # Malta
Insert Section # North Macedonia
Insert Section # Luxembourg
Find Exact Line # Poland
Insert Section # Svalbard & Jan Mayen
Insert Section # Norway
Insert Section # Netherlands
Insert Section # Montenegro
Insert Section # Monaco
Find Exact Line # Serbia
Insert Section # San Marino
Find Exact Line # Spain
Insert Section # Slovenia
Insert Section # Slovakia
Find Exact Line # Switzerland
Insert Section # Sweden
Find After Zone Europe/Kyiv
Find Next Line
Insert Section # Vatican City
#--------------------------------------
# Zones linked to Europe/Belgrade
# No backzone data is available for ME, so a Link is the best available data
Find Line # Montenegro
Add Link Europe/Belgrade Europe/Podgorica
Edit backward: Remove Link Europe/Belgrade Europe/Podgorica
#--------------------------------------
# Zones linked to Europe/Berlin
# Ensure DK has own data, not a link to a different ISO-3166-1 code
Find Line # Denmark
Reinstate Rule Denmark
Reinstate Zone Europe/Copenhagen
Edit backward: Remove Link Europe/Berlin Europe/Copenhagen
# Ensure NO has own data, not a link to a different ISO-3166-1 code
Find Line # Norway
Reinstate Rule Norway
Reinstate Zone Europe/Oslo
Edit backward: Remove Link Europe/Berlin Europe/Oslo
# Ensure SE has own data, not a link to a different ISO-3166-1 code
Find Line # Sweden
Reinstate Zone Europe/Stockholm
Edit backward: Remove Link Europe/Berlin Europe/Stockholm
#--------------------------------------
# Zones linked to Europe/Brussels
# Ensure NL has own data, not a link to a different ISO-3166-1 code
Find Line # Netherlands
Reinstate Rule Neth
Reinstate Zone Europe/Amsterdam
Edit backward: Remove Link Europe/Brussels Europe/Amsterdam
# Ensure LU has own data, not a link to a different ISO-3166-1 code
Find Line2 # Luxembourg
Reinstate Rule Lux
Reinstate Zone Europe/Luxembourg
Edit backward: Remove Link Europe/Brussels Europe/Luxembourg
#--------------------------------------
# Zones linked to Europe/Helsinki
# No backzone data is available for AX, so a Link is the best available data
Find Line # Åland Is
Add Link Europe/Helsinki Europe/Mariehamn
Edit backward: Remove Link Europe/Helsinki Europe/Mariehamn
#--------------------------------------
# Zones linked to Europe/London
# Ensure JE/GG/IM have own data, not a link to a different ISO-3166-1 code
Find After Zone Europe/London
Reinstate Zone Europe/Jersey
Edit backward: Remove Link Europe/London Europe/Jersey
Reinstate Zone Europe/Guernsey
Edit backward: Remove Link Europe/London Europe/Guernsey
Reinstate Zone Europe/Isle_of_Man
Edit backward: Remove Link Europe/London Europe/Isle_of_Man
Remove Lines # Use Europe/London for Jersey, Guernsey, and the Isle of Man.
#--------------------------------------
# Zones linked to Europe/Oslo
# No backzone data is available for SJ, so a Link is the best available data
Find Line # Svalbard & Jan Mayen
Add Link Europe/Oslo Arctic/Longyearbyen
Edit backward: Remove Link Europe/Berlin Arctic/Longyearbyen
Edit backward: Reinstate Link Europe/Oslo Atlantic/Jan_Mayen
Edit backzone: Remove Link Europe/Oslo Arctic/Longyearbyen
#--------------------------------------
# Zones linked to Europe/Paris
# Ensure MC has own data, not a link to a different ISO-3166-1 code
Find Line # Monaco
Reinstate Zone Europe/Monaco
Edit backward: Remove Link Europe/Paris Europe/Monaco
#--------------------------------------
# Zones linked to Europe/Prague
# No backzone data is available for SK, so a Link is the best available data
Find Line # Slovakia
Add Link Europe/Prague Europe/Bratislava
Edit backward: Remove Link Europe/Prague Europe/Bratislava
#--------------------------------------
# Zones linked to Europe/Rome
# No backzone data is available for SM, so a Link is the best available data
Find Line # San Marino
Add Link Europe/Rome Europe/San_Marino
Edit backward: Remove Link Europe/Rome Europe/San_Marino
# No backzone data is available for VA, so a Link is the best available data
Find Line # Vatican City
Add Link Europe/Rome Europe/Vatican
Edit backward: Remove Link Europe/Rome Europe/Vatican
#--------------------------------------
# Zones linked to Europe/Zurich
Find Line # Switzerland
Remove Next Line
# Ensure LI has own data, not a link to a different ISO-3166-1 code
Find Line # Liechtenstein
Reinstate Zone Europe/Vaduz
Edit backward: Remove Link Europe/Zurich Europe/Vaduz
# Europe/Busingen (DE) links to Europe/Zurich (CH)
# No backzone data is available for Busingen, so a Link is the best available data
Find After Zone Europe/Zurich
Add Link Europe/Zurich Europe/Busingen
Edit backward: Remove Link Europe/Zurich Europe/Busingen
#--------------------------------------
# Zones linked to Europe/Belgrade
# Ensure SI has own data, not a link to a different ISO-3166-1 code
Find Line # Slovenia
Reinstate Zone Europe/Ljubljana
Edit backward: Remove Link Europe/Belgrade Europe/Ljubljana
# Ensure BA has own data, not a link to a different ISO-3166-1 code
Find Line # Bosnia & Herzegovina
Reinstate Zone Europe/Sarajevo
Edit backward: Remove Link Europe/Belgrade Europe/Sarajevo
# Ensure MK has own data, not a link to a different ISO-3166-1 code
Find Line # North Macedonia
Reinstate Zone Europe/Skopje
Edit backward: Remove Link Europe/Belgrade Europe/Skopje
# Ensure HR has own data, not a link to a different ISO-3166-1 code
Find Line # Croatia
Reinstate Zone Europe/Zagreb
Edit backward: Remove Link Europe/Belgrade Europe/Zagreb
#--------------------------------------
# Zones linked to Africa/Abidjan
Find Line # Iceland
Reinstate Rule Iceland
Reinstate Zone Atlantic/Reykjavik
Edit backward: Remove Link Africa/Abidjan Atlantic/Reykjavik
Edit backward: Reinstate Link Atlantic/Reykjavik Iceland
Edit backzone: Remove Link Atlantic/Reykjavik Iceland
#--------------------------------------
# At present, Kosovo does not have an ISO-3166-1 code. As such, it is excluded from global-tz.
# If Kosovo gains an ISO-3166-1 code, then an identifier will be added here.
Find Line # Kosovo
Add Line # See Europe/Belgrade.
#==========================================================
Edit northamerica
#--------------------------------------
# Fix file layout
Remove Exact Line # Anguilla
Remove Exact Line # Antigua & Barbuda
Remove Exact Line # Aruba
Remove Exact Line # Atikokan and Coral Harbour, Canada, match Panama since 1970.
Remove Exact Line # Caribbean Netherlands
Remove Exact Line # Cayman Is
Remove Exact Line # Curaçao
Remove Exact Line # Dominica
Remove Exact Line # Grenada
Remove Exact Line # Guadeloupe
Remove Exact Line # Montserrat
Remove Exact Line # St Barthélemy
Remove Exact Line # St Kitts-Nevis
Remove Exact Line # Sint Maarten / St Martin
Remove Exact Line # St Lucia
Remove Exact Line # St Vincent & the Grenadines
Remove Exact Line # The Bahamas match Toronto since 1970.
Remove Exact Line # Trinidad & Tobago
Remove Exact Line # Virgin Is (UK & US)
Find Exact Line # Barbados
Insert Section # The Bahamas
Insert Section # Antigua & Barbuda
Insert Section # Anguilla
Find Exact Line # Costa Rica
Insert Section # Cayman Is
Insert Section # Caribbean Netherlands
Find Exact Line # Dominican Republic
Insert Section # Dominica
Find Exact Line # Guatemala
Insert Section # St Martin (French part)
Insert Section # St Barthélemy
Insert Section # Guadeloupe
Insert Section # Grenada
Find Exact Line # Nicaragua
Insert Section # Montserrat
Find Exact Line # St Pierre and Miquelon
Insert Section # St Lucia
Insert Section # St Kitts-Nevis
Find Exact Line # Turks and Caicos
Insert Section # Sint Maarten
Insert Section # St Vincent & the Grenadines
Find Exact Line # Local Variables:
Insert Section # US Virgin Is
Insert Section # British Virgin Is
#--------------------------------------
# Zones linked to America/Panama
Find Line # Panama
Remove Next Line
# Ensure CA has own data, not a link to a different ISO-3166-1 code
Find Line # For Atikokan see America/Panama
Reinstate Zone America/Atikokan
Edit backward: Remove Link America/Panama America/Atikokan
Remove Lines # For Atikokan see America/Panama
Edit backward: Reinstate Link America/Atikokan America/Coral_Harbour
# Ensure KY has own primary data, not a link to a different ISO-3166-1 code
Find Line # Cayman Is
Reinstate Zone America/Cayman
Edit backward: Remove Link America/Panama America/Cayman
#--------------------------------------
# Zones linked to America/Phoenix
Remove Lines # See America/Phoenix
# Ensure CA has own data, not a link to a different ISO-3166-1 code
Find Line # For Creston see America/Phoenix
Reinstate Zone America/Creston
Edit backward: Remove Link America/Phoenix America/Creston
Remove Lines # For Creston see America/Phoenix
#--------------------------------------
# Zones linked to America/Puerto_Rico
Find Line # Puerto Rico
Remove Next Line
# Ensure AI has own primary data, not a link to a different ISO-3166-1 code
Find Line # Anguilla
Reinstate Zone America/Anguilla
Edit backward: Remove Link America/Puerto_Rico America/Anguilla
# Ensure AG has own primary data, not a link to a different ISO-3166-1 code
Find Line # Antigua
Reinstate Zone America/Antigua
Edit backward: Remove Link America/Puerto_Rico America/Antigua
# No backzone data is available for BQ, so a Link is the best available data
Find Line # Caribbean Netherlands
Add Line # See America/Kralendijk in southamerica.
# No backzone data is available for SX, so a Link is the best available data
Find Line # Sint Maarten
Add Line # See America/Lower_Princes in southamerica.
# Ensure CA has own data, not a link to a different ISO-3166-1 code
Find Line # See America/Puerto_Rico for east of Natashquan
Reinstate Zone America/Blanc-Sablon
Edit backward: Remove Link America/Puerto_Rico America/Blanc-Sablon
# Ensure DM has own primary data, not a link to a different ISO-3166-1 code
Find Line # Dominica
Reinstate Zone America/Dominica
Edit backward: Remove Link America/Puerto_Rico America/Dominica
# Ensure GD has own primary data, not a link to a different ISO-3166-1 code
Find Line # Grenada
Reinstate Zone America/Grenada
Edit backward: Remove Link America/Puerto_Rico America/Grenada
# Ensure GP has own primary data, not a link to a different ISO-3166-1 code
Find Line # Guadeloupe
Reinstate Zone America/Guadeloupe
Edit backward: Remove Link America/Puerto_Rico America/Guadeloupe
# No backzone data is available for MF, so a Link is the best available data
Find Line # St Martin
Add Line # See America/Marigot in southamerica.
# Ensure MS has own primary data, not a link to a different ISO-3166-1 code
Find Line # Montserrat
Reinstate Zone America/Montserrat
Edit backward: Remove Link America/Puerto_Rico America/Montserrat
# No backzone data is available for BL, so a Link is the best available data
Find Line # St Barthélemy
Add Line # See America/St_Barthelemy in southamerica.
# Ensure KN has own primary data, not a link to a different ISO-3166-1 code
Find Line # St Kitts-Nevis
Reinstate Zone America/St_Kitts
Edit backward: Remove Link America/Puerto_Rico America/St_Kitts
# Ensure LC has own primary data, not a link to a different ISO-3166-1 code
Find Line # St Lucia
Reinstate Zone America/St_Lucia
Edit backward: Remove Link America/Puerto_Rico America/St_Lucia
# Ensure VI has own primary data, not a link to a different ISO-3166-1 code
Find Line # US Virgin Is
Reinstate Zone America/St_Thomas
Edit backward: Remove Link America/Puerto_Rico America/St_Thomas
Edit backward: Reinstate Link America/St_Thomas America/Virgin
# Ensure VC has own primary data, not a link to a different ISO-3166-1 code
Find Line # St Vincent & the Grenadines
Reinstate Zone America/St_Vincent
Edit backward: Remove Link America/Puerto_Rico America/St_Vincent
# Ensure VG has own primary data, not a link to a different ISO-3166-1 code
Find Line # British Virgin Is
Reinstate Zone America/Tortola
Edit backward: Remove Link America/Puerto_Rico America/Tortola
#--------------------------------------
# Zones linked to America/Toronto
# Ensure BS has own primary data, not a link to a different ISO-3166-1 code
Find Line # The Bahamas
Reinstate Rule Bahamas