Skip to content

Commit 28d1532

Browse files
authored
Merge pull request #97 from bxparks/develop
merge 1.11.3 into master
2 parents cdf4488 + f2cfb9b commit 28d1532

File tree

295 files changed

+1773
-1751
lines changed

Some content is hidden

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

295 files changed

+1773
-1751
lines changed

CHANGELOG.md

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

33
* Unreleased
4+
* 1.11.3 (2022-03-20, TZDB 2022a)
5+
* Update to TZDB 2022a.
6+
* https://mm.icann.org/pipermail/tz-announce/2022-March.txt
7+
* "Palestine will spring forward on 2022-03-27, not -03-26."
8+
* No changes to code.
49
* 1.11.2 (2022-02-24, TZDB 2021e)
510
* Fix crash triggered by certain subclasses of `BasicZoneProcessor` and
611
`ExtendedZoneProcessor`.

DEVELOPER.md

Lines changed: 36 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -584,57 +584,30 @@ available.
584584
should be a sibling to the `AceTime` repo:
585585
* `$ cd ../date`
586586
* `$ git pull`
587-
* Verify that the `AceTime` library and the Hinnant `date` library agree with
588-
each other using the same TZDB version. This requires going into the
589-
[AceTimeValidation](https://github.com/bxparks/AceTimeValidation) project.
590-
* BasicHinnantDateTest
591-
* `$ cd .../AceTimeValidation/BasicHinnantDateTest`
592-
* Update the `TZ_VERSION` variable in the `Makefile` with the commit tag
593-
of the new TZDB version. (e.g. `TZ_VERSION = 2020c`).
594-
* `$ make clean`
595-
* `$ make`
596-
* `$ ./BasicHinnantDateTest.out | grep failed`
597-
* There should be no failures.
598-
* ExtendedHinnantDateTest
599-
* `$ cd .../AceTimeValidation/ExtendedHinnantDateTest`
600-
* Update the `TZ_VERSION` variable in the `Makefile` with the commit tag
601-
of the new TZDB version. (e.g. `TZ_VERSION = 2020c`).
602-
* `$ make clean`
603-
* `$ make`
604-
* `$ ./ExtendedHinnantDateTest.out | grep failed`
605-
* There should be no failures.
606587
* Update the zonedb files for AceTimePython (needed by BasicAcetzTest and
607588
ExtendedAcetzTest):
608589
* `$ cd AceTimePython/src/acetime/zonedb`
609-
* Edit the `Makefile` and update the `TZ_VERSION`.
590+
* Update the `TZ_VERSION` variable in `Makefile`.
610591
* `$ make`
611-
* Verify that the `AceTime` library and the `AceTimePython` library agree with
612-
each other using the same TZDB version. This requires going into the
613-
[AceTimeValidation](https://github.com/bxparks/AceTimeValidation) project.
614-
* BasicAcetzTest
615-
* `$ cd .../AceTimeValidation/BasicAcetzTest`
616-
* Update the `TZ_VERSION` variable in the `Makefile` with the commit tag
617-
of the new TZDB version. (e.g. `TZ_VERSION = 2020c`).
618-
* `$ make clean`
619-
* `$ make`
620-
* `$ ./BasicAcetzTest.out | grep failed`
621-
* There should be no failures.
622-
* ExtendedAcetzTest
623-
* `$ cd .../AceTimeValidation/ExtendedAcetzTest`
624-
* Update the `TZ_VERSION` variable in the `Makefile` with the commit tag
625-
of the new TZDB version. (e.g. `TZ_VERSION = 2020c`).
626-
* `$ make clean`
627-
* `$ make`
628-
* `$ ./ExtendedAcetzTest.out | grep failed`
629-
* There should be no failures.
592+
* Verify that `AceTimeValidation` passes (which compares AceTime with
593+
AceTimePython and the Hinnant `date` library):
594+
* `$ cd ../AceTimeValidation`
595+
* Update the `TZ_VERSION` variable in the following files:
596+
* `BasicAcetzTest/Makefile`
597+
* `ExtendedAcetzTest/Makefile`
598+
* `BasicHinnantDateTest/Makefile`
599+
* `ExtendedHinnantDateTest/Makefile`
600+
* `$ make clean`
601+
* `$ make validations`
602+
* `$ make runvalidations`
630603
* Update the various zoneinfo files for AceTime:
631604
* `zonedb`
632-
* `$ cd src/ace_time/zonedb`
633-
* Edit the `Makefile` and update the `TZ_VERSION`.
605+
* `$ cd AceTime/src/ace_time/zonedb`
606+
* Update the `TZ_VERSION` variable in `Makefile`.
634607
* `$ make`
635608
* `zonedbx`
636-
* `$ cd src/ace_time/zonedbx`
637-
* Edit the `Makefile` and update the `TZ_VERSION`.
609+
* `$ cd AceTime/src/ace_time/zonedbx`
610+
* Update the `TZ_VERSION` variable in `Makefile`.
638611
* `$ make`
639612
* Update CHANGELOGs
640613
* AceTime/CHANGELOG.md
@@ -644,12 +617,26 @@ available.
644617
* `$ git add ...`
645618
* `$ git commit -m "..."`
646619

647-
There are 6 other validation tests in the AceTimeValidation project that compare
648-
AceTime with other third party libraries (Python pytz, Python dateutil, and Java
649-
date). Unfortunately, they all seem to use the underlying TZDB version provided
650-
by the Operating System, and I have not been able to figure out how to manually
651-
update this dependency manually. When a new TZDB is released, all of these other
652-
tests will fail until the underlying timezone database of the OS is updated.
620+
There are 12 other validation tests in the AceTimeValidation project that
621+
compare AceTime with various other third party libraries:
622+
623+
* `BasicDateUtilTest`
624+
* `BasicGoTest`
625+
* `BasicJavaTest`
626+
* `BasicNodaTest`
627+
* `BasicPytzTest`
628+
* `BasicZoneInfoTest`
629+
* `ExtendedDateUtilTest`
630+
* `ExtendedGoTest`
631+
* `ExtendedJavaTest`
632+
* `ExtendedNodaTest`
633+
* `ExtendedPytzTest`
634+
* `ExtendedZoneInfoTest`
635+
636+
Unfortunately, they all seem to use the underlying TZDB version provided by the
637+
Operating System, and I have not been able to figure out how to manually update
638+
this dependency manually. When a new TZDB is released, all of these tests will
639+
fail until the underlying timezone database of the OS is updated.
653640

654641
<a name="ReleaseProcess"></a>
655642
## Release Process

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This library can be an alternative to the Arduino Time
5353
(https://github.com/PaulStoffregen/Time) and Arduino Timezone
5454
(https://github.com/JChristensen/Timezone) libraries.
5555

56-
**Version**: 1.11.2 (2022-02-24, TZDB version 2021e)
56+
**Version**: 1.11.3 (2022-03-20, TZDB version 2022a)
5757

5858
**Changelog**: [CHANGELOG.md](CHANGELOG.md)
5959

USER_GUIDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The primary purpose of AceTime classes is to convert between an integer
44
representing the number of seconds since the AceTime Epoch (2000-01-01T00:00:00
55
UTC) and the equivalent human-readable components in different timezones.
66

7-
**Version**: 1.11.2 (2021-02-24, TZDB 2021e)
7+
**Version**: 1.11.3 (2021-03.20, TZDB 2022a)
88

99
**Related Documents**:
1010

@@ -2046,7 +2046,7 @@ in the `transformer.py` script and summarized in
20462046
* the UNTIL time suffix can only be 'w' (not 's' or 'u')
20472047
* there can be only one DST transition in a single month
20482048

2049-
As of version v1.9 (with TZDB 2021e), this database contains 258 Zone entries
2049+
As of version v1.11.3 (with TZDB 2022a), this database contains 258 Zone entries
20502050
and 193 Link entries, supported from the year 2000 to 2049 (inclusive).
20512051

20522052
<a name="ExtendedZonedbx"></a>
@@ -2063,7 +2063,7 @@ are:
20632063
* the AT and UNTIL fields are multiples of 1-minute
20642064
* the LETTER field can be arbitrary strings
20652065

2066-
As of version v1.9 (with TZDB 2021e), this database contains all 377 Zone
2066+
As of version v1.11.3 (with TZDB 2022a), this database contains all 377 Zone
20672067
entries and 217 Link entries, supported from the year 2000 to 2049 (inclusive).
20682068

20692069
<a name="TzDatabaseVersion"></a>
@@ -2666,7 +2666,7 @@ void printZones(uint16_t indexes[], uint16_t size) {
26662666
26672667
void sortAndPrintZones() {
26682668
// Create the indexes[kZoneAndLinkRegistrySize] on the stack. This has 594
2669-
// elements as of TZDB 2021e, so this requires a microcontroller which can
2669+
// elements as of TZDB 2022a, so this requires a microcontroller which can
26702670
// support at least 1188 bytes on the stack.
26712671
uint16_t indexes[zonedbx::kZoneAndLinkRegistrySize];
26722672

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 = 1.11.2
41+
PROJECT_NUMBER = 1.11.3
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

docs/html/AceTime_8h_source.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">AceTime
25-
&#160;<span id="projectnumber">1.11.2</span>
25+
&#160;<span id="projectnumber">1.11.3</span>
2626
</div>
2727
<div id="projectbrief">Date and time classes for Arduino that support timezones from the TZ Database.</div>
2828
</td>
@@ -126,8 +126,8 @@
126126
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="time__period__mutation_8h.html">ace_time/time_period_mutation.h</a>&quot;</span></div>
127127
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
128128
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment">// Version format: xxyyzz == &quot;xx.yy.zz&quot;</span></div>
129-
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#define ACE_TIME_VERSION 11102</span></div>
130-
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#define ACE_TIME_VERSION_STRING &quot;1.11.2&quot;</span></div>
129+
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#define ACE_TIME_VERSION 11103</span></div>
130+
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#define ACE_TIME_VERSION_STRING &quot;1.11.3&quot;</span></div>
131131
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
132132
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#endif</span></div>
133133
</div><!-- fragment --></div><!-- contents -->

docs/html/BasicBrokers_8cpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">AceTime
25-
&#160;<span id="projectnumber">1.11.2</span>
25+
&#160;<span id="projectnumber">1.11.3</span>
2626
</div>
2727
<div id="projectbrief">Date and time classes for Arduino that support timezones from the TZ Database.</div>
2828
</td>

docs/html/BasicBrokers_8h.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">AceTime
25-
&#160;<span id="projectnumber">1.11.2</span>
25+
&#160;<span id="projectnumber">1.11.3</span>
2626
</div>
2727
<div id="projectbrief">Date and time classes for Arduino that support timezones from the TZ Database.</div>
2828
</td>

docs/html/BasicBrokers_8h_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">AceTime
25-
&#160;<span id="projectnumber">1.11.2</span>
25+
&#160;<span id="projectnumber">1.11.3</span>
2626
</div>
2727
<div id="projectbrief">Date and time classes for Arduino that support timezones from the TZ Database.</div>
2828
</td>

docs/html/BasicZoneProcessor_8h_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">AceTime
25-
&#160;<span id="projectnumber">1.11.2</span>
25+
&#160;<span id="projectnumber">1.11.3</span>
2626
</div>
2727
<div id="projectbrief">Date and time classes for Arduino that support timezones from the TZ Database.</div>
2828
</td>

0 commit comments

Comments
 (0)