Skip to content

Commit 686d771

Browse files
committed
Upgrade to TZDB 2021d
1 parent 86b03fa commit 686d771

File tree

14 files changed

+74
-50
lines changed

14 files changed

+74
-50
lines changed

src/ace_time/zonedb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ TARGETS := zone_infos.cpp zone_infos.h zone_policies.cpp zone_policies.h
22

33
TOOLS := $(abspath ../../../../AceTimeTools)
44

5-
TZ_VERSION := 2021c
5+
TZ_VERSION := 2021d
66
START_YEAR := 2000
77
UNTIL_YEAR := 2050
88

src/ace_time/zonedb/zone_infos.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedb
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// Zones: 258
2828
// Links: 193
@@ -52,7 +52,7 @@ namespace zonedb {
5252
// ZoneContext (should not be in PROGMEM)
5353
//---------------------------------------------------------------------------
5454

55-
const char kTzDatabaseVersion[] = "2021c";
55+
const char kTzDatabaseVersion[] = "2021d";
5656

5757
const char* const kFragments[] = {
5858
/*\x00*/ nullptr,

src/ace_time/zonedb/zone_infos.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedb
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// DO NOT EDIT
2828

src/ace_time/zonedb/zone_policies.cpp

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedb
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -22,13 +22,13 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// Policies: 64
28-
// Rules: 362
28+
// Rules: 363
2929
// Letter Size (bytes): 0
30-
// Total Memory 8-bit (bytes): 3642
31-
// Total Memory 32-bit (bytes): 5112
30+
// Total Memory 8-bit (bytes): 3651
31+
// Total Memory 32-bit (bytes): 5124
3232
//
3333
// DO NOT EDIT
3434

@@ -1996,9 +1996,9 @@ const basic::ZonePolicy kPolicyEire ACE_TIME_PROGMEM = {
19961996

19971997
//---------------------------------------------------------------------------
19981998
// Policy name: Fiji
1999-
// Rules: 13
2000-
// Memory (8-bit): 123
2001-
// Memory (32-bit): 168
1999+
// Rules: 14
2000+
// Memory (8-bit): 132
2001+
// Memory (32-bit): 180
20022002
//---------------------------------------------------------------------------
20032003

20042004
static const basic::ZoneRule kZoneRulesFiji[] ACE_TIME_PROGMEM = {
@@ -2110,10 +2110,10 @@ static const basic::ZoneRule kZoneRulesFiji[] ACE_TIME_PROGMEM = {
21102110
4 /*deltaCode ((deltaMinutes=60)/15)*/,
21112111
'-' /*letter*/,
21122112
},
2113-
// Rule Fiji 2015 max - Jan Sun>=12 3:00 0 -
2113+
// Rule Fiji 2015 2021 - Jan Sun>=12 3:00 0 -
21142114
{
21152115
15 /*fromYearTiny*/,
2116-
126 /*toYearTiny*/,
2116+
21 /*toYearTiny*/,
21172117
1 /*inMonth*/,
21182118
7 /*onDayOfWeek*/,
21192119
12 /*onDayOfMonth*/,
@@ -2146,9 +2146,9 @@ static const basic::ZoneRule kZoneRulesFiji[] ACE_TIME_PROGMEM = {
21462146
4 /*deltaCode ((deltaMinutes=60)/15)*/,
21472147
'-' /*letter*/,
21482148
},
2149-
// Rule Fiji 2021 max - Nov Sun>=8 2:00 1:00 -
2149+
// Rule Fiji 2022 max - Nov Sun>=8 2:00 1:00 -
21502150
{
2151-
21 /*fromYearTiny*/,
2151+
22 /*fromYearTiny*/,
21522152
126 /*toYearTiny*/,
21532153
11 /*inMonth*/,
21542154
7 /*onDayOfWeek*/,
@@ -2158,6 +2158,18 @@ static const basic::ZoneRule kZoneRulesFiji[] ACE_TIME_PROGMEM = {
21582158
4 /*deltaCode ((deltaMinutes=60)/15)*/,
21592159
'-' /*letter*/,
21602160
},
2161+
// Rule Fiji 2023 max - Jan Sun>=12 3:00 0 -
2162+
{
2163+
23 /*fromYearTiny*/,
2164+
126 /*toYearTiny*/,
2165+
1 /*inMonth*/,
2166+
7 /*onDayOfWeek*/,
2167+
12 /*onDayOfMonth*/,
2168+
12 /*atTimeCode*/,
2169+
0 /*atTimeModifier (kSuffixW + minute=0)*/,
2170+
0 /*deltaCode ((deltaMinutes=0)/15)*/,
2171+
'-' /*letter*/,
2172+
},
21612173

21622174
};
21632175

@@ -2166,7 +2178,7 @@ static const basic::ZoneRule kZoneRulesFiji[] ACE_TIME_PROGMEM = {
21662178
const basic::ZonePolicy kPolicyFiji ACE_TIME_PROGMEM = {
21672179
kZoneRulesFiji /*rules*/,
21682180
nullptr /*letters*/,
2169-
13 /*numRules*/,
2181+
14 /*numRules*/,
21702182
0 /*numLetters*/,
21712183
};
21722184

src/ace_time/zonedb/zone_policies.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedb
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// DO NOT EDIT
2828

src/ace_time/zonedb/zone_registry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedb
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// DO NOT EDIT
2828

src/ace_time/zonedb/zone_registry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedb
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// DO NOT EDIT
2828

src/ace_time/zonedbx/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ TARGETS := zone_infos.cpp zone_infos.h zone_policies.cpp zone_policies.h
22

33
TOOLS := $(abspath ../../../../AceTimeTools)
44

5-
TZ_VERSION := 2021c
5+
TZ_VERSION := 2021d
66
START_YEAR := 2000
77
UNTIL_YEAR := 2050
88

src/ace_time/zonedbx/zone_infos.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedbx
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope extended
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// Zones: 377
2828
// Links: 217
@@ -52,7 +52,7 @@ namespace zonedbx {
5252
// ZoneContext (should not be in PROGMEM)
5353
//---------------------------------------------------------------------------
5454

55-
const char kTzDatabaseVersion[] = "2021c";
55+
const char kTzDatabaseVersion[] = "2021d";
5656

5757
const char* const kFragments[] = {
5858
/*\x00*/ nullptr,

src/ace_time/zonedbx/zone_infos.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
44
// --input_dir /home/brian/dev/tz
55
// --output_dir /home/brian/src/AceTime/src/ace_time/zonedbx
6-
// --tz_version 2021c
6+
// --tz_version 2021d
77
// --action zonedb
88
// --language arduino
99
// --scope extended
@@ -22,7 +22,7 @@
2222
// northamerica
2323
// southamerica
2424
//
25-
// from https://github.com/eggert/tz/releases/tag/2021c
25+
// from https://github.com/eggert/tz/releases/tag/2021d
2626
//
2727
// DO NOT EDIT
2828

0 commit comments

Comments
 (0)