bug#43828: invalid date converting from UTC, near DST

2020-10-16 Thread Martin Fido
I have tzdata version 2020a: $ apt-cache policy tzdata tzdata: Installed: 2020a-0ubuntu0.16.04 Candidate: 2020a-0ubuntu0.16.04 ... $ zdump -v Australia/Sydney | grep 2020 Australia/Sydney Sat Apr 4 15:59:59 2020 UT = Sun Apr 5 02:59:59 2020 AEDT isdst=1

bug#43828: invalid date converting from UTC, near DST

2020-10-06 Thread Martin Fido
Hi, I seem to have found a bug in the date utility, converting from UTC to Sydney time. It returns invalid date for what should be perfectly valid: $ TZ='Australia/Sydney' date -d '2020-10-04T02:00:00Z' date: invalid date ā€˜2020-10-04T02:00:00Zā€™ $ TZ='Australia/Sydney' date -d