Public bug reported:

The ICU data we embed in tzdata was out of sync on the 2022f-0ubuntu1
upload, still matching the 2022e data instead. It's been updated
upstream, so we need to do another round of SRUs for it:

https://github.com/unicode-org/icu-
data/commit/ad9d2568d02b2130f1ba34f876fc82cad32c522f

The following Python script should work with the update and crash on
obsolete data:

from datetime import datetime
from icu import ICUtzinfo, TimeZone
tz = ICUtzinfo(TimeZone.createTimeZone("America/Chihuahua"))
before = datetime(2022, 10, 1)
after = datetime(2022, 11, 2)
assert(tz.utcoffset(before) == tz.utcoffset(after))

** Affects: tzdata (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: tzdata (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: tzdata (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: tzdata (Ubuntu Kinetic)
     Importance: Undecided
         Status: New

** Affects: tzdata (Ubuntu Lunar)
     Importance: High
         Status: Triaged


** Tags: foundations-todo

** Also affects: tzdata (Ubuntu Lunar)
   Importance: High
       Status: Triaged

** Also affects: tzdata (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: tzdata (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: tzdata (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

-- 
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/1995601

Title:
  tzdata 2022f ICU data update

Status in tzdata package in Ubuntu:
  Triaged
Status in tzdata source package in Focal:
  New
Status in tzdata source package in Jammy:
  New
Status in tzdata source package in Kinetic:
  New
Status in tzdata source package in Lunar:
  Triaged

Bug description:
  The ICU data we embed in tzdata was out of sync on the 2022f-0ubuntu1
  upload, still matching the 2022e data instead. It's been updated
  upstream, so we need to do another round of SRUs for it:

  https://github.com/unicode-org/icu-
  data/commit/ad9d2568d02b2130f1ba34f876fc82cad32c522f

  The following Python script should work with the update and crash on
  obsolete data:

  from datetime import datetime
  from icu import ICUtzinfo, TimeZone
  tz = ICUtzinfo(TimeZone.createTimeZone("America/Chihuahua"))
  before = datetime(2022, 10, 1)
  after = datetime(2022, 11, 2)
  assert(tz.utcoffset(before) == tz.utcoffset(after))

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1995601/+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

Reply via email to