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-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945527

Title:
  Update tzdata to version 2021a-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1945527/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to