Comment 14 for bug 1901020

Revision history for this message
Brian Murray (brian-murray) wrote :

Verification on Bionic:

bdmurray@clean-bionic-amd64:~$ apt list tzdata
Listing... Done
tzdata/bionic-updates,bionic-updates,bionic-security,bionic-security,now 2020a-0ubuntu0.18.04 all [installed,automatic]
N: There is 1 additional version. Please use the '-a' switch to see it
bdmurray@clean-bionic-amd64:~$ zdump -v Pacific/Fiji | grep 2020
Pacific/Fiji Sat Jan 11 13:59:59 2020 UT = Sun Jan 12 02:59:59 2020 +13 isdst=1 gmtoff=46800
Pacific/Fiji Sat Jan 11 14:00:00 2020 UT = Sun Jan 12 02:00:00 2020 +12 isdst=0 gmtoff=43200
Pacific/Fiji Sat Nov 7 13:59:59 2020 UT = Sun Nov 8 01:59:59 2020 +12 isdst=0 gmtoff=43200
Pacific/Fiji Sat Nov 7 14:00:00 2020 UT = Sun Nov 8 03:00:00 2020 +13 isdst=1 gmtoff=46800
bdmurray@clean-bionic-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Fiji')); print(str(tz.utcoffset(datetime(2020, 11, 10))))"
13:00:00

bdmurray@clean-bionic-amd64:~$ apt list tzdata
Listing... Done
tzdata/bionic-proposed,bionic-proposed,now 2020d-0ubuntu0.18.04 all [installed]
N: There are 2 additional versions. Please use the '-a' switch to see them.
bdmurray@clean-bionic-amd64:~$ zdump -v Pacific/Fiji | grep 2020
Pacific/Fiji Sat Jan 11 13:59:59 2020 UT = Sun Jan 12 02:59:59 2020 +13 isdst=1 gmtoff=46800
Pacific/Fiji Sat Jan 11 14:00:00 2020 UT = Sun Jan 12 02:00:00 2020 +12 isdst=0 gmtoff=43200
Pacific/Fiji Sat Dec 19 13:59:59 2020 UT = Sun Dec 20 01:59:59 2020 +12 isdst=0 gmtoff=43200
Pacific/Fiji Sat Dec 19 14:00:00 2020 UT = Sun Dec 20 03:00:00 2020 +13 isdst=1 gmtoff=46800
bdmurray@clean-bionic-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.create
TimeZone('Pacific/Fiji')); print(str(tz.utcoffset(datetime(2020, 11, 10))))"
13:00:00

Actually the icu-data info didn't change - this needs investigating.