[tz] Troubles with zone Asia/Gaza after tzdata2020b release

Tim Parenti tim at timtimeonline.com
Mon Mar 15 14:30:01 UTC 2021

On Mon, 15 Mar 2021 at 10:11, Evgheni Antropov via tz <tz at iana.org> wrote:

> something goes wrong at October, when DST will disable.

Your command:
date +"%Y%m%d %T" -s "20211030 00:59:55"
is inherently ambiguous because 00:59:55 occurs twice on that date in your
zone.  date has chosen to give you the second occurrence of this time, one
hour after the transition you're trying to observe has already happened.
This is why your output is entirely in EET.

You can unambiguously specify the UTC timestamp associated with the time
you wish to inspect with something more like:
date +"%Y%m%d %T" -s "20211029 21:59:55" -u

Tim Parenti

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20210315/f2ad808e/attachment.html>

More information about the tz mailing list