tzdata verification for focal: bdmurray@clean-focal-amd64:~$ zdump -v Africa/Juba | grep 2021 bdmurray@clean-focal-amd64:~$ sudo apt-get install tzdata [sudo] password for bdmurray: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: tzdata 1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded. Need to get 295 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://192.168.10.7/ubuntu focal-proposed/main amd64 tzdata all 2021a-0ubuntu0.20.04 [295 kB] Fetched 295 kB in 0s (9,897 kB/s) Preconfiguring packages ... (Reading database ... 223660 files and directories currently installed.) Preparing to unpack .../tzdata_2021a-0ubuntu0.20.04_all.deb ... Unpacking tzdata (2021a-0ubuntu0.20.04) over (2020f-0ubuntu0.20.04.1) ... Setting up tzdata (2021a-0ubuntu0.20.04) ...
Current default time zone: 'America/Los_Angeles' Local time is now: Thu Jan 28 09:33:43 PST 2021. Universal Time is now: Thu Jan 28 17:33:43 UTC 2021. Run 'dpkg-reconfigure tzdata' if you wish to change it. bdmurray@clean-focal-amd64:~$ zdump -v Africa/Juba | grep 2021 Africa/Juba Sun Jan 31 20:59:59 2021 UT = Sun Jan 31 23:59:59 2021 EAT isdst=0 gmtoff=10800 Africa/Juba Sun Jan 31 21:00:00 2021 UT = Sun Jan 31 23:00:00 2021 CAT isdst=0 gmtoff=7200 verification of the icu-data change: bdmurray@clean-focal-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.create TimeZone('Africa/Juba')); print(str(tz.utcoffset(datetime(2021, 2, 1))))" 2:00:00 ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to tzdata in Ubuntu. https://bugs.launchpad.net/bugs/1913482 Title: Update tzdata to version 2021a Status in tzdata package in Ubuntu: In Progress Status in tzdata source package in Xenial: Fix Committed Status in tzdata source package in Bionic: Fix Committed Status in tzdata source package in Focal: Fix Committed Status in tzdata source package in Groovy: Fix Committed Bug description: New upstream version affecting the following timestamp: - South Sudan changes from +03 to +02 on 2021-02-01 at 00:00. $region/$timezone = Africa/Juba Verification is done with 'zdump'. The first timezone that gets changed in the updated package is dumped with 'zdump -v $region/$timezone_that_changed' (this needs to be greped for in /usr/share/zoneinfo/). [For example: 'zdump -v Africa/Juba'.] This is compared to the same output after the updated package got installed. If those are different the verification is considered done. [Test Case for all releases] 1) zdump -v Africa/Juba | grep 2021 For releases with ICU timezone data verification is done using the following with dates before and after the change: [Test Case for releases >= 20.04 LTS] 1) sudo apt-get install python3-icu 2) python3 -c 'from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.creat eTimeZone('Africa/Juba')); print(str(tz.utcoffset(datetime(2021, 2, 1))))' Additionally, an upstream update of tzdata removed the 'old' SystemV timezones, so we should ensure that they are kept in Ubuntu 20.04 LTS and earlier releases. Subsequently, these should be checked for using the following: [Test Case for releases <= 20.04 LTS] diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-) Nothing should be returned by the above command. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1913482/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp