Skip to content

Commit

Permalink
Merge pull request #111 from bxparks/develop
Browse files Browse the repository at this point in the history
zonedb*: Actually upgrade to TZDB 2023b
  • Loading branch information
bxparks committed Mar 25, 2023
2 parents f839c1c + 1f447e2 commit cdb4e25
Show file tree
Hide file tree
Showing 28 changed files with 1,396 additions and 426 deletions.
2 changes: 1 addition & 1 deletion src/tzonedb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TARGETS := zone_infos.cpp zone_infos.h zone_policies.cpp zone_policies.h

TOOLS := $(abspath ../../../AceTimeTools)
TZ_REPO := $(abspath $(TOOLS)/../tz)
TZ_VERSION := 2022g
TZ_VERSION := 2023b
START_YEAR := 1980
UNTIL_YEAR := 10000

Expand Down
8 changes: 4 additions & 4 deletions src/tzonedb/zone_infos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedb/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedb
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope basic
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 12 (11 zones, 1 links)
// Unsupported Zones: 584 (340 zones, 244 links)
// Unsupported Zones: 584 (339 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2007]
Expand Down Expand Up @@ -81,7 +81,7 @@ namespace tzonedb {
// ZoneContext (should not be in PROGMEM)
//---------------------------------------------------------------------------

const char kTzDatabaseVersion[] = "2022g";
const char kTzDatabaseVersion[] = "2023b";

const char* const kFragments[] = {
/*\x00*/ nullptr,
Expand Down
12 changes: 6 additions & 6 deletions src/tzonedb/zone_infos.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedb/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedb
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope basic
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 12 (11 zones, 1 links)
// Unsupported Zones: 584 (340 zones, 244 links)
// Unsupported Zones: 584 (339 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2007]
Expand Down Expand Up @@ -155,7 +155,7 @@ const uint8_t kZoneBufSizePacific_Galapagos = 3; // Pacific/Galapagos in 1985


//---------------------------------------------------------------------------
// Unsupported zones: 340
// Unsupported zones: 339
//---------------------------------------------------------------------------

// Africa/Abidjan {Zone missing from include list}
Expand Down Expand Up @@ -288,7 +288,6 @@ const uint8_t kZoneBufSizePacific_Galapagos = 3; // Pacific/Galapagos in 1985
// America/Tijuana {Zone missing from include list}
// America/Whitehorse {UNTIL contains month/day/time}
// America/Yakutat {Zone missing from include list}
// America/Yellowknife {Zone missing from include list}
// Antarctica/Casey {Zone missing from include list}
// Antarctica/Davis {Zone missing from include list}
// Antarctica/Macquarie {Zone missing from include list}
Expand Down Expand Up @@ -508,7 +507,7 @@ const uint8_t kZoneBufSizePacific_Galapagos = 3; // Pacific/Galapagos in 1985


//---------------------------------------------------------------------------
// Unsupported links: 244
// Unsupported links: 245
//---------------------------------------------------------------------------

// Africa/Accra {Link missing from include list}
Expand Down Expand Up @@ -593,6 +592,7 @@ const uint8_t kZoneBufSizePacific_Galapagos = 3; // Pacific/Galapagos in 1985
// America/Thunder_Bay {Link missing from include list}
// America/Tortola {Link missing from include list}
// America/Virgin {Link missing from include list}
// America/Yellowknife {Link missing from include list}
// Antarctica/DumontDUrville {Link missing from include list}
// Antarctica/McMurdo {Link missing from include list}
// Antarctica/South_Pole {Link missing from include list}
Expand Down
6 changes: 3 additions & 3 deletions src/tzonedb/zone_policies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedb/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedb
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope basic
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 12 (11 zones, 1 links)
// Unsupported Zones: 584 (340 zones, 244 links)
// Unsupported Zones: 584 (339 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2007]
Expand Down
6 changes: 3 additions & 3 deletions src/tzonedb/zone_policies.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedb/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedb
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope basic
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 12 (11 zones, 1 links)
// Unsupported Zones: 584 (340 zones, 244 links)
// Unsupported Zones: 584 (339 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2007]
Expand Down
6 changes: 3 additions & 3 deletions src/tzonedb/zone_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedb/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedb
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope basic
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 12 (11 zones, 1 links)
// Unsupported Zones: 584 (340 zones, 244 links)
// Unsupported Zones: 584 (339 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2007]
Expand Down
6 changes: 3 additions & 3 deletions src/tzonedb/zone_registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedb/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedb
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope basic
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 12 (11 zones, 1 links)
// Unsupported Zones: 584 (340 zones, 244 links)
// Unsupported Zones: 584 (339 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2007]
Expand Down
2 changes: 1 addition & 1 deletion src/tzonedbx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TARGETS := zone_infos.cpp zone_infos.h zone_policies.cpp zone_policies.h

TOOLS := $(abspath ../../../AceTimeTools)
TZ_REPO := $(abspath $(TOOLS)/../tz)
TZ_VERSION := 2022g
TZ_VERSION := 2023b
START_YEAR := 1980
UNTIL_YEAR := 10000

Expand Down
8 changes: 4 additions & 4 deletions src/tzonedbx/zone_infos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedbx/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedbx
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope extended
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 16 (15 zones, 1 links)
// Unsupported Zones: 580 (336 zones, 244 links)
// Unsupported Zones: 580 (335 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2087]
Expand Down Expand Up @@ -81,7 +81,7 @@ namespace tzonedbx {
// ZoneContext (should not be in PROGMEM)
//---------------------------------------------------------------------------

const char kTzDatabaseVersion[] = "2022g";
const char kTzDatabaseVersion[] = "2023b";

const char* const kFragments[] = {
/*\x00*/ nullptr,
Expand Down
12 changes: 6 additions & 6 deletions src/tzonedbx/zone_infos.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
// --input_dir /home/brian/src/AceTime/src/tzonedbx/tzfiles
// --output_dir /home/brian/src/AceTime/src/tzonedbx
// --tz_version 2022g
// --tz_version 2023b
// --action zonedb
// --language arduino
// --scope extended
Expand All @@ -26,10 +26,10 @@
// northamerica
// southamerica
//
// from https://github.com/eggert/tz/releases/tag/2022g
// from https://github.com/eggert/tz/releases/tag/2023b
//
// Supported Zones: 16 (15 zones, 1 links)
// Unsupported Zones: 580 (336 zones, 244 links)
// Unsupported Zones: 580 (335 zones, 245 links)
//
// Original Years: [1844,2087]
// Generated Years: [1945,2087]
Expand Down Expand Up @@ -167,7 +167,7 @@ const uint8_t kZoneBufSizePacific_Apia = 5; // Pacific/Apia in 2011


//---------------------------------------------------------------------------
// Unsupported zones: 336
// Unsupported zones: 335
//---------------------------------------------------------------------------

// Africa/Abidjan {Zone missing from include list}
Expand Down Expand Up @@ -297,7 +297,6 @@ const uint8_t kZoneBufSizePacific_Apia = 5; // Pacific/Apia in 2011
// America/Thule {Zone missing from include list}
// America/Tijuana {Zone missing from include list}
// America/Yakutat {Zone missing from include list}
// America/Yellowknife {Zone missing from include list}
// Antarctica/Casey {Zone missing from include list}
// Antarctica/Davis {Zone missing from include list}
// Antarctica/Macquarie {Zone missing from include list}
Expand Down Expand Up @@ -525,7 +524,7 @@ const uint8_t kZoneBufSizePacific_Apia = 5; // Pacific/Apia in 2011


//---------------------------------------------------------------------------
// Unsupported links: 244
// Unsupported links: 245
//---------------------------------------------------------------------------

// Africa/Accra {Link missing from include list}
Expand Down Expand Up @@ -610,6 +609,7 @@ const uint8_t kZoneBufSizePacific_Apia = 5; // Pacific/Apia in 2011
// America/Thunder_Bay {Link missing from include list}
// America/Tortola {Link missing from include list}
// America/Virgin {Link missing from include list}
// America/Yellowknife {Link missing from include list}
// Antarctica/DumontDUrville {Link missing from include list}
// Antarctica/McMurdo {Link missing from include list}
// Antarctica/South_Pole {Link missing from include list}
Expand Down
Loading

0 comments on commit cdb4e25

Please sign in to comment.