Skip to content

Commit 617fe54

Browse files
committed
Bump version to 3.0.0
1 parent 7a2679e commit 617fe54

Some content is hidden

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

49 files changed

+582
-688
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

3-
- Unreleased
3+
- 3.0.0 (2025-01-28, TZDB 2025a)
4+
- merge various AceTime projects into single AceTimeSuite repo
5+
- [upgrade to TZDB 2025a](https://lists.iana.org/hyperkitty/list/[email protected]/thread/MWII7R3HMCEDNUCIYQKSSTYYR7UWK4OQ/)
6+
- Paraguay adopts permanent -03 starting spring 2024.
7+
- Improve pre-1991 data for the Philippines.
8+
- Etc/Unknown is now reserved.
49
- 2.4.0 (2024-12-13, TZDB version 2024b)
510
- Support new `%z` value in FORMAT column.
611
- Upgrade TZDB to 2024b

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ and the `zonedbc` database to support all timezones, for all transitions defined
7676
in the IANA TZ database (`[1844,2087]`), and extending the validity of timezone
7777
calculations from `[2000,10000)` to `[0001,10000)`.
7878

79-
**Version**: 2.4.0 (2024-12-13, TZDB version 2024b)
79+
**Version**: 3.0.0 (2025-01-28, TZDB 2025a)
8080

8181
**Changelog**: [CHANGELOG.md](CHANGELOG.md)
8282

USER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The IANA TZ database is programmatically generated into 3 predefined databases:
1818
databases have different accuracy ranges, and are designed to work with
1919
different `ZoneProcessor` and `ZoneManager` classes.
2020

21-
**Version**: 2.4.0 (2024-12-13, TZDB 2024b)
21+
**Version**: 3.0.0 (2025-01-28, TZDB 2025a)
2222

2323
**Related Documents**:
2424

docs/doxygen.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = AceTime
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.4.0
41+
PROJECT_NUMBER = 3.0.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

examples/AutoBenchmark/basic_registry.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ const basic::ZoneInfo* const kBasicRegistry[kBasicRegistrySize]
3232
&zonedb::kZoneEurope_Athens, // 0x4318fa27, Europe/Athens
3333
&zonedb::kZoneIndian_Chagos, // 0x456f7c3c, Indian/Chagos
3434
&zonedb::kZoneAmerica_Chicago, // 0x4b92b5d4, America/Chicago
35-
&zonedb::kZoneAmerica_Asuncion, // 0x50ec79a6, America/Asuncion
3635
&zonedb::kZonePacific_Gambier, // 0x53720c3a, Pacific/Gambier
3736
&zonedb::kZoneAmerica_Jamaica, // 0x565dad6c, America/Jamaica
3837
&zonedb::kZonePacific_Marquesas, // 0x57ca7135, Pacific/Marquesas

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AceTime
2-
version=2.4.0
2+
version=3.0.0
33
author=Brian T. Park <[email protected]>
44
maintainer=Brian T. Park <[email protected]>
55
sentence=Date, time, timezone classes for Arduino supporting the full IANA TZ Database to convert epoch seconds to date and time components in different time zones.

src/AceTime.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#include "zonedbc/zone_registry.h"
7171

7272
// Version format: xxyyzz == "xx.yy.zz"
73-
#define ACE_TIME_VERSION 20400
74-
#define ACE_TIME_VERSION_STRING "2.4.0"
73+
#define ACE_TIME_VERSION 30000
74+
#define ACE_TIME_VERSION_STRING "3.0.0"
7575

7676
#endif

src/zonedb/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
TARGETS := zone_infos.cpp zone_infos.h zone_policies.cpp zone_policies.h
22

3-
TOOLS := $(abspath ../../../AceTimeTools)
4-
TZ_REPO := $(abspath $(TOOLS)/../tz)
5-
TZ_VERSION := 2024b
3+
COMPILER := $(abspath ../../../../compiler)
4+
TZ_REPO := $(abspath ../../../../../tz)
5+
TZ_VERSION := 2025a
66
START_YEAR := 2000
77
UNTIL_YEAR := 2200
88

99
all:
10-
$(TOOLS)/tzcompiler.sh \
10+
$(COMPILER)/tzcompiler.sh \
1111
--tzrepo $(TZ_REPO) \
1212
--tag $(TZ_VERSION) \
1313
--action zonedb \
@@ -18,7 +18,7 @@ all:
1818
--until_year $(UNTIL_YEAR)
1919

2020
zonedb.json:
21-
$(TOOLS)/tzcompiler.sh \
21+
$(COMPILER)/tzcompiler.sh \
2222
--tzrepo $(TZ_REPO) \
2323
--tag $(TZ_VERSION) \
2424
--action json \

src/zonedb/zone_infos.cpp

Lines changed: 28 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// This file was generated by the following script:
22
//
3-
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
4-
// --input_dir /home/brian/src/AceTime/src/zonedb/tzfiles
5-
// --output_dir /home/brian/src/AceTime/src/zonedb
6-
// --tz_version 2024b
3+
// $ /home/brian/src/AceTimeSuite/compiler/src/acetimecompiler/tzcompiler.py
4+
// --input_dir /home/brian/src/AceTimeSuite/libraries/AceTime/src/zonedb/tzfiles
5+
// --output_dir /home/brian/src/AceTimeSuite/libraries/AceTime/src/zonedb
6+
// --tz_version 2025a
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -23,10 +23,10 @@
2323
// northamerica
2424
// southamerica
2525
//
26-
// from https://github.com/eggert/tz/releases/tag/2024b
26+
// from https://github.com/eggert/tz/releases/tag/2025a
2727
//
28-
// Supported Zones: 447 (216 zones, 231 links)
29-
// Unsupported Zones: 149 (123 zones, 26 links)
28+
// Supported Zones: 446 (215 zones, 231 links)
29+
// Unsupported Zones: 150 (124 zones, 26 links)
3030
//
3131
// Requested Years: [2000,2200]
3232
// Accurate Years: [2000,32767]
@@ -39,38 +39,38 @@
3939
// Max Buffer Size: 6
4040
//
4141
// Records:
42-
// Infos: 447
43-
// Eras: 228
44-
// Policies: 64
45-
// Rules: 363
42+
// Infos: 446
43+
// Eras: 227
44+
// Policies: 63
45+
// Rules: 352
4646
//
4747
// Memory (8-bits):
4848
// Context: 16
49-
// Rules: 3267
50-
// Policies: 192
51-
// Eras: 2508
52-
// Zones: 2808
49+
// Rules: 3168
50+
// Policies: 189
51+
// Eras: 2497
52+
// Zones: 2795
5353
// Links: 3003
54-
// Registry: 894
54+
// Registry: 892
5555
// Formats: 175
5656
// Letters: 29
5757
// Fragments: 116
58-
// Names: 4152 (original: 6511)
59-
// TOTAL: 17160
58+
// Names: 4142 (original: 6494)
59+
// TOTAL: 17022
6060
//
6161
// Memory (32-bits):
6262
// Context: 24
63-
// Rules: 4356
64-
// Policies: 512
65-
// Eras: 3648
66-
// Zones: 5184
63+
// Rules: 4224
64+
// Policies: 504
65+
// Eras: 3632
66+
// Zones: 5160
6767
// Links: 5544
68-
// Registry: 1788
68+
// Registry: 1784
6969
// Formats: 175
7070
// Letters: 41
7171
// Fragments: 138
72-
// Names: 4152 (original: 6511)
73-
// TOTAL: 25562
72+
// Names: 4142 (original: 6494)
73+
// TOTAL: 25368
7474
//
7575
// DO NOT EDIT
7676

@@ -85,7 +85,7 @@ namespace zonedb {
8585
// ZoneContext
8686
//---------------------------------------------------------------------------
8787

88-
static const char kVersionString[] ACE_TIME_PROGMEM = "2024b";
88+
static const char kVersionString[] ACE_TIME_PROGMEM = "2025a";
8989
const __FlashStringHelper* const kTzDatabaseVersion =
9090
(const __FlashStringHelper*) kVersionString;
9191

@@ -149,8 +149,8 @@ const basic::ZoneContext kZoneContext ACE_TIME_PROGMEM = {
149149
};
150150

151151
//---------------------------------------------------------------------------
152-
// Zones: 216
153-
// Eras: 228
152+
// Zones: 215
153+
// Eras: 227
154154
//---------------------------------------------------------------------------
155155

156156
//---------------------------------------------------------------------------
@@ -601,38 +601,6 @@ const basic::ZoneInfo kZoneAmerica_Anchorage ACE_TIME_PROGMEM = {
601601
nullptr /*targetInfo*/,
602602
};
603603

604-
//---------------------------------------------------------------------------
605-
// Zone name: America/Asuncion
606-
// Eras: 1
607-
//---------------------------------------------------------------------------
608-
609-
static const basic::ZoneEra kZoneEraAmerica_Asuncion[] ACE_TIME_PROGMEM = {
610-
// -4:00 Para %z
611-
{
612-
&kZonePolicyPara /*zonePolicy*/,
613-
"" /*format*/,
614-
-16 /*offsetCode*/,
615-
4 /*deltaCode (((offsetMinute=0) << 4) + ((deltaMinutes=0)/15 + 4))*/,
616-
127 /*untilYearTiny*/,
617-
1 /*untilMonth*/,
618-
1 /*untilDay*/,
619-
0 /*untilTimeCode*/,
620-
0 /*untilTimeModifier (kSuffixW + minute=0)*/,
621-
},
622-
623-
};
624-
625-
static const char kZoneNameAmerica_Asuncion[] ACE_TIME_PROGMEM = "\x02" "Asuncion";
626-
627-
const basic::ZoneInfo kZoneAmerica_Asuncion ACE_TIME_PROGMEM = {
628-
kZoneNameAmerica_Asuncion /*name*/,
629-
0x50ec79a6 /*zoneId*/,
630-
&kZoneContext /*zoneContext*/,
631-
1 /*numEras*/,
632-
kZoneEraAmerica_Asuncion /*eras*/,
633-
nullptr /*targetInfo*/,
634-
};
635-
636604
//---------------------------------------------------------------------------
637605
// Zone name: America/Barbados
638606
// Eras: 1

src/zonedb/zone_infos.h

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// This file was generated by the following script:
22
//
3-
// $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
4-
// --input_dir /home/brian/src/AceTime/src/zonedb/tzfiles
5-
// --output_dir /home/brian/src/AceTime/src/zonedb
6-
// --tz_version 2024b
3+
// $ /home/brian/src/AceTimeSuite/compiler/src/acetimecompiler/tzcompiler.py
4+
// --input_dir /home/brian/src/AceTimeSuite/libraries/AceTime/src/zonedb/tzfiles
5+
// --output_dir /home/brian/src/AceTimeSuite/libraries/AceTime/src/zonedb
6+
// --tz_version 2025a
77
// --action zonedb
88
// --language arduino
99
// --scope basic
@@ -23,10 +23,10 @@
2323
// northamerica
2424
// southamerica
2525
//
26-
// from https://github.com/eggert/tz/releases/tag/2024b
26+
// from https://github.com/eggert/tz/releases/tag/2025a
2727
//
28-
// Supported Zones: 447 (216 zones, 231 links)
29-
// Unsupported Zones: 149 (123 zones, 26 links)
28+
// Supported Zones: 446 (215 zones, 231 links)
29+
// Unsupported Zones: 150 (124 zones, 26 links)
3030
//
3131
// Requested Years: [2000,2200]
3232
// Accurate Years: [2000,32767]
@@ -39,38 +39,38 @@
3939
// Max Buffer Size: 6
4040
//
4141
// Records:
42-
// Infos: 447
43-
// Eras: 228
44-
// Policies: 64
45-
// Rules: 363
42+
// Infos: 446
43+
// Eras: 227
44+
// Policies: 63
45+
// Rules: 352
4646
//
4747
// Memory (8-bits):
4848
// Context: 16
49-
// Rules: 3267
50-
// Policies: 192
51-
// Eras: 2508
52-
// Zones: 2808
49+
// Rules: 3168
50+
// Policies: 189
51+
// Eras: 2497
52+
// Zones: 2795
5353
// Links: 3003
54-
// Registry: 894
54+
// Registry: 892
5555
// Formats: 175
5656
// Letters: 29
5757
// Fragments: 116
58-
// Names: 4152 (original: 6511)
59-
// TOTAL: 17160
58+
// Names: 4142 (original: 6494)
59+
// TOTAL: 17022
6060
//
6161
// Memory (32-bits):
6262
// Context: 24
63-
// Rules: 4356
64-
// Policies: 512
65-
// Eras: 3648
66-
// Zones: 5184
63+
// Rules: 4224
64+
// Policies: 504
65+
// Eras: 3632
66+
// Zones: 5160
6767
// Links: 5544
68-
// Registry: 1788
68+
// Registry: 1784
6969
// Formats: 175
7070
// Letters: 41
7171
// Fragments: 138
72-
// Names: 4152 (original: 6511)
73-
// TOTAL: 25562
72+
// Names: 4142 (original: 6494)
73+
// TOTAL: 25368
7474
//
7575
// DO NOT EDIT
7676

@@ -95,7 +95,7 @@ extern const __FlashStringHelper* const kTzDatabaseVersion;
9595
extern const basic::ZoneContext kZoneContext;
9696

9797
//---------------------------------------------------------------------------
98-
// Supported zones: 216
98+
// Supported zones: 215
9999
//---------------------------------------------------------------------------
100100

101101
extern const basic::ZoneInfo kZoneAfrica_Abidjan; // Africa/Abidjan
@@ -112,7 +112,6 @@ extern const basic::ZoneInfo kZoneAfrica_Tunis; // Africa/Tunis
112112
extern const basic::ZoneInfo kZoneAfrica_Windhoek; // Africa/Windhoek
113113
extern const basic::ZoneInfo kZoneAmerica_Adak; // America/Adak
114114
extern const basic::ZoneInfo kZoneAmerica_Anchorage; // America/Anchorage
115-
extern const basic::ZoneInfo kZoneAmerica_Asuncion; // America/Asuncion
116115
extern const basic::ZoneInfo kZoneAmerica_Barbados; // America/Barbados
117116
extern const basic::ZoneInfo kZoneAmerica_Belem; // America/Belem
118117
extern const basic::ZoneInfo kZoneAmerica_Belize; // America/Belize
@@ -332,7 +331,6 @@ const uint32_t kZoneIdAfrica_Tunis = 0x79378e6d; // Africa/Tunis
332331
const uint32_t kZoneIdAfrica_Windhoek = 0x789c9bd3; // Africa/Windhoek
333332
const uint32_t kZoneIdAmerica_Adak = 0x97fe49d7; // America/Adak
334333
const uint32_t kZoneIdAmerica_Anchorage = 0x5a79260e; // America/Anchorage
335-
const uint32_t kZoneIdAmerica_Asuncion = 0x50ec79a6; // America/Asuncion
336334
const uint32_t kZoneIdAmerica_Barbados = 0xcbbc3b04; // America/Barbados
337335
const uint32_t kZoneIdAmerica_Belem = 0x97da580b; // America/Belem
338336
const uint32_t kZoneIdAmerica_Belize = 0x93256c81; // America/Belize
@@ -1030,7 +1028,6 @@ const uint8_t kZoneBufSizeAfrica_Tunis = 5; // Africa/Tunis in 2005
10301028
const uint8_t kZoneBufSizeAfrica_Windhoek = 4; // Africa/Windhoek in 1994
10311029
const uint8_t kZoneBufSizeAmerica_Adak = 6; // America/Adak in 2008
10321030
const uint8_t kZoneBufSizeAmerica_Anchorage = 6; // America/Anchorage in 2008
1033-
const uint8_t kZoneBufSizeAmerica_Asuncion = 5; // America/Asuncion in 2000
10341031
const uint8_t kZoneBufSizeAmerica_Barbados = 2; // America/Barbados in 1949
10351032
const uint8_t kZoneBufSizeAmerica_Belem = 1; // America/Belem in 1949
10361033
const uint8_t kZoneBufSizeAmerica_Belize = 2; // America/Belize in 1949
@@ -1235,7 +1232,7 @@ const uint8_t kZoneBufSizePacific_Tongatapu = 5; // Pacific/Tongatapu in 1999
12351232

12361233

12371234
//---------------------------------------------------------------------------
1238-
// Unsupported zones: 123
1235+
// Unsupported zones: 124
12391236
//---------------------------------------------------------------------------
12401237

12411238
// Africa/Cairo {policy 'Egypt' not found}
@@ -1258,6 +1255,7 @@ const uint8_t kZoneBufSizePacific_Tongatapu = 5; // Pacific/Tongatapu in 1999
12581255
// America/Argentina/San_Luis {UNTIL contains month/day/time}
12591256
// America/Argentina/Tucuman {UNTIL contains month/day/time}
12601257
// America/Argentina/Ushuaia {UNTIL contains month/day/time}
1258+
// America/Asuncion {UNTIL contains month/day/time}
12611259
// America/Bahia {UNTIL contains month/day/time}
12621260
// America/Bahia_Banderas {UNTIL contains month/day/time}
12631261
// America/Boa_Vista {UNTIL contains month/day/time}
@@ -1364,7 +1362,7 @@ const uint8_t kZoneBufSizePacific_Tongatapu = 5; // Pacific/Tongatapu in 1999
13641362

13651363

13661364
//---------------------------------------------------------------------------
1367-
// Notable zones: 34
1365+
// Notable zones: 33
13681366
//---------------------------------------------------------------------------
13691367

13701368
// Africa/Johannesburg {RULES not fixed but FORMAT is missing '%s' or '/'}
@@ -1375,7 +1373,6 @@ const uint8_t kZoneBufSizePacific_Tongatapu = 5; // Pacific/Tongatapu in 1999
13751373
// SAVE '-1:00' is a negative DST,
13761374
// }
13771375
// }
1378-
// America/Asuncion {RULES not fixed but FORMAT is missing '%s' or '/'}
13791376
// America/Belize {
13801377
// Belize {LETTER 'CST' not single character}
13811378
// }

0 commit comments

Comments
 (0)