Comment 19 for bug 1998321

Revision history for this message
Benjamin Drung (bdrung) wrote :

Verified focal:

(focal)root@deep-thought:~# dpkg -s tzdata | grep ^Version
Version: 2022g-0ubuntu0.20.04.1
(focal)root@deep-thought:~# zdump -v America/Ciudad_Juarez | grep -v NULL | tail -n 1
America/Ciudad_Juarez Sun Nov 1 08:00:00 2499 UT = Sun Nov 1 01:00:00 2499 MST isdst=0 gmtoff=-25200
(focal)root@deep-thought:~# python3 -c 'from datetime import datetime, timedelta; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone("America/Ciudad_Juarez")); assert(tz.utcoffset(datetime(2022, 12, 1)) == timedelta(hours=-7))'
(focal)root@deep-thought:~# diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)
(focal)root@deep-thought:~#