[tz] Add option to act like global-tz

Bradley White bww at acm.org
Wed Aug 17 17:31:00 UTC 2022


On Tue, Aug 16, 2022 at 8:51 PM Paul Eggert <eggert at cs.ucla.edu> wrote:

> On 8/16/22 14:57, Bradley White wrote:
> > $ TZ=<path-to-standard>/Africa/Freetown date -d @1660625107
> > Tue Aug 16 04:45:07 GMT 2022
> > $ TZ=<path-to-packrat>/Africa/Freetown date -d @1660625107
> > Tue Aug 16 05:05:07 +01 2022
>
> The Africa/Freetown glitch was introduced in 2022a when fixing other
> problems with Sierra Leone.
>
> I ran the following test to find similar glitches: [...]
>
> I installed into the development repository the attached patch to
> 'backzone' to fix these glitches. The above test passes now.
>

For what it's worth, that patch appears to remove the last instance of "DST
all year"
<https://github.com/eggert/tz/blob/aca1a705795d4d3986a3ac795e673c410ace2693/zic.c#L2760-L2761>.
Hopefully
you have some other hidden tests that continue to exercise those code paths.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mm.icann.org/pipermail/tz/attachments/20220817/47b3a85a/attachment.html>


More information about the tz mailing list