bdmurray@clean-focal-amd64:~$ apt-cache policy tzdata tzdata: Installed: 2021a-0ubuntu0.20.04 Candidate: 2021a-2ubuntu0.20.04 Version table: 2021a-2ubuntu0.20.04 500 500 http://192.168.10.7/ubuntu focal-proposed/main amd64 Packages 500 http://192.168.10.7/ubuntu focal-proposed/main i386 Packages *** 2021a-0ubuntu0.20.04 500 500 http://192.168.10.7/ubuntu focal-updates/main amd64 Packages 500 http://192.168.10.7/ubuntu focal-updates/main i386 Packages 500 http://192.168.10.7/ubuntu focal-security/main amd64 Packages 500 http://192.168.10.7/ubuntu focal-security/main i386 Packages 100 /var/lib/dpkg/status 2019c-3ubuntu1 500 500 http://192.168.10.7/ubuntu focal/main amd64 Packages 500 http://192.168.10.7/ubuntu focal/main i386 Packages bdmurray@clean-focal-amd64:~$ zdump -v Pacific/Apia | grep 2021 Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400 Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800 Pacific/Apia Sat Sep 25 13:59:59 2021 UT = Sun Sep 26 02:59:59 2021 +13 isdst=0 gmtoff=46800 Pacific/Apia Sat Sep 25 14:00:00 2021 UT = Sun Sep 26 04:00:00 2021 +14 isdst=1 gmtoff=50400 bdmurray@clean-focal-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))" 14:00:00 bdmurray@clean-focal-amd64:~$ apt-cache policy tzdata tzdata: Installed: 2021a-2ubuntu0.20.04 Candidate: 2021a-2ubuntu0.20.04 Version table: *** 2021a-2ubuntu0.20.04 500 500 http://192.168.10.7/ubuntu focal-proposed/main amd64 Packages 500 http://192.168.10.7/ubuntu focal-proposed/main i386 Packages 100 /var/lib/dpkg/status 2021a-0ubuntu0.20.04 500 500 http://192.168.10.7/ubuntu focal-updates/main amd64 Packages 500 http://192.168.10.7/ubuntu focal-updates/main i386 Packages 500 http://192.168.10.7/ubuntu focal-security/main amd64 Packages 500 http://192.168.10.7/ubuntu focal-security/main i386 Packages 2019c-3ubuntu1 500 500 http://192.168.10.7/ubuntu focal/main amd64 Packages 500 http://192.168.10.7/ubuntu focal/main i386 Packages bdmurray@clean-focal-amd64:~$ zdump -v Pacific/Apia | grep 2021 Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400 Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800 bdmurray@clean-focal-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))" 13:00:00 And the regression check: bdmurray@clean-focal-amd64:~$ diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)
bdmurray@ clean-focal- amd64:~ $ apt-cache policy tzdata 20.04 20.04 2ubuntu0. 20.04 500 192.168. 10.7/ubuntu focal-proposed/main amd64 Packages 192.168. 10.7/ubuntu focal-proposed/main i386 Packages 20.04 500 192.168. 10.7/ubuntu focal-updates/main amd64 Packages 192.168. 10.7/ubuntu focal-updates/main i386 Packages 192.168. 10.7/ubuntu focal-security/main amd64 Packages 192.168. 10.7/ubuntu focal-security/main i386 Packages dpkg/status 192.168. 10.7/ubuntu focal/main amd64 Packages 192.168. 10.7/ubuntu focal/main i386 Packages clean-focal- amd64:~ $ zdump -v Pacific/Apia | grep 2021 clean-focal- amd64:~ $ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo( TimeZone. createTimeZone( 'Pacific/ Apia')) ; print(str( tz.utcoffset( datetime( 2021, 9, 27))))" clean-focal- amd64:~ $ apt-cache policy tzdata 20.04 20.04 20.04 500 192.168. 10.7/ubuntu focal-proposed/main amd64 Packages 192.168. 10.7/ubuntu focal-proposed/main i386 Packages dpkg/status 0ubuntu0. 20.04 500 192.168. 10.7/ubuntu focal-updates/main amd64 Packages 192.168. 10.7/ubuntu focal-updates/main i386 Packages 192.168. 10.7/ubuntu focal-security/main amd64 Packages 192.168. 10.7/ubuntu focal-security/main i386 Packages 192.168. 10.7/ubuntu focal/main amd64 Packages 192.168. 10.7/ubuntu focal/main i386 Packages clean-focal- amd64:~ $ zdump -v Pacific/Apia | grep 2021 clean-focal- amd64:~ $ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo( TimeZone. createTimeZone( 'Pacific/ Apia')) ; print(str( tz.utcoffset( datetime( 2021, 9, 27))))" clean-focal- amd64:~ $ diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)
tzdata:
Installed: 2021a-0ubuntu0.
Candidate: 2021a-2ubuntu0.
Version table:
2021a-
500 http://
500 http://
*** 2021a-0ubuntu0.
500 http://
500 http://
500 http://
500 http://
100 /var/lib/
2019c-3ubuntu1 500
500 http://
500 http://
bdmurray@
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 13:59:59 2021 UT = Sun Sep 26 02:59:59 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 14:00:00 2021 UT = Sun Sep 26 04:00:00 2021 +14 isdst=1 gmtoff=50400
bdmurray@
14:00:00
bdmurray@
tzdata:
Installed: 2021a-2ubuntu0.
Candidate: 2021a-2ubuntu0.
Version table:
*** 2021a-2ubuntu0.
500 http://
500 http://
100 /var/lib/
2021a-
500 http://
500 http://
500 http://
500 http://
2019c-3ubuntu1 500
500 http://
500 http://
bdmurray@
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
bdmurray@
13:00:00
And the regression check:
bdmurray@