Article View: linux.debian.bugs.dist
Article #6476Bug#863213: icu: please stop embedding tzdata - trixie libicu76 still uses 2024b; Canada one hour wrong since 2026-11-01
From: Benjamin Drung
Date: Fri, 27 Nov 2026 21:30
Date: Fri, 27 Nov 2026 21:30
76 lines
5514 bytes
5514 bytes
On Sun, 2026-11-01 at 13:46 +0100, Aurelien Jarno wrote:
> Hi,
>
> On 2026-11-01 11:24, CyberNative AI wrote:
> > Control: found -1 76.1-4
> >
> > Hello,
> >
> > On trixie, libicu76 76.1-4 still answers time zone questions from its
> > built-in 2024b data. In tzdata 2026e-0+deb13u1 (and 2026f in
> > trixie-updates), America/Vancouver, America/Edmonton, America/Inuvik and
> > America/Winnipeg no longer fall back on 2026-11-01; in ICU's 2024b data
> > they still do. In our samples after that transition, ICU gives clock
> > times one hour early for these zones. Our July 2026 samples agree.
> >
> > Measured in the Docker official image friendica:2026.05 (Debian 13,
> > libicu76 76.1-4, tzdata 2026e-0+deb13u1, PHP 8.4.27 with intl), digest
> > sha256:19363f2761822b4a3d24392c4b416eff2e499eb6c955cefabd5be3566caea278:
> >
> > IntlTimeZone::getTZDataVersion() 2024b
> > event at 2026-12-15 18:00 UTC, viewer in America/Vancouver,
> > IntlDateFormatter FULL/LONG 10:00:00 AM PST (wrong)
> > PHP DateTime (timezonedb 2026.5) 11:00 AM -07:00 (expected)
> >
> > Edmonton, Inuvik and Winnipeg show the same one-hour error. This is a
> > default path for that application: Friendica 2026.05 renders event start
> > and end times with IntlDateFormatter in the viewer's time zone
> > (src/Model/Event.php, lines 41 and 44).
> >
> > No ICU code change seems to be needed. libicu76 as packaged already reads
> > override files from /usr/share/zoneinfo-icu/44/le. With the upstream ICU
> > 2026f files (unicode-org/icu-data, tzdata/icunew/2026f/44/le) mounted at
> > that path and no environment variable set, a Nextcloud image with the
> > same libicu76 76.1-4 reports 2026f and gives the expected offsets for
> > all four zones. In the Friendica image, pointing ICU_TIMEZONE_FILES_DIR
> > at the same files corrects the four event times.
> >
> > Ubuntu already ships these files from its tzdata source as the tzdata-icu
> > binary package. Its debian/rules builds them with genrb and icupkg from
> > the icu-data .txt files, and tzdata-icu.install puts them in
> > /usr/share/zoneinfo-icu/44/{le,be}/. If Debian's tzdata carried the same
> > package, and libicu76 recommended it, stable tzdata updates would reach
> > ICU users too. #1033499 reports the same problem for PHP intl on
> > bullseye.
>
> That is wrong. Ubuntu doesn't build ICU data from tzdata. It just
> includes ICU data, pulled in the same source package. This is actually
> often an issue as the two are not released with the same frequency.
>
> Separating the ICU data from the ICU library is definitely a good idea
> for simpler updates. But I plainly disagree to include it in the tzdata
> package like Ubuntu did. Please see #954112 for more details.
My long-term plan is to build the ICU data from tzdata:
* build ICU data from source instead of shipping the ICU data
(see https://launchpad.net/bugs/2030977 )
* include everything in upstream tzdata to make building ICU data
possible
Sadly I haven't found time to work on that. Help there would be welcome.
--
Benjamin Drung
Debian & Ubuntu Developer
Technical Details
Message-ID:
<O4bG1-exUp-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<tKm6t-6oT-7@gated-at.bofh.it> <KkKpb-2kDI-5@gated-at.bofh.it> <NUCet-9czH-1@gated-at.bofh.it> <NUDax-9d3M-1@gated-at.bofh.it> <tKm6t-6oT-7@gated-at.bofh.it> <NUDax-9d3M-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Benjamin Drung <bdrung@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#863213: icu: please stop embedding tzdata - trixie libicu76 still uses 2024b; Canada one hour wrong since 2026-11-01 Date: Fri, 27 Nov 2026 22:30:01 +0100 Message-ID: <O4bG1-exUp-7@gated-at.bofh.it> References: <tKm6t-6oT-7@gated-at.bofh.it> <KkKpb-2kDI-5@gated-at.bofh.it> <NUCet-9czH-1@gated-at.bofh.it> <NUDax-9d3M-1@gated-at.bofh.it> <tKm6t-6oT-7@gated-at.bofh.it> <NUDax-9d3M-1@gated-at.bofh.it> X-Original-To: Aurelien Jarno <aurel32@debian.org>, CyberNative AI CEO <ceo@cybernative.ai> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 27 21:23:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Benjamin Drung <bdrung@debian.org>, 863213@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: gcs@debian.org X-Debian-Pr-Message: followup 863213 X-Debian-Pr-Package: src:icu X-Debian-Pr-Source: icu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-9 MIME-Version: 1.0 X-Debian-User: bdrung X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005461 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 76 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 863213@bugs.debian.org, tzdata@packages.debian.org X-Original-Date: Fri, 27 Nov 2026 22:18:44 +0100 X-Original-Message-ID: <ec1dd63fce3c3c2bf890287d566f23c33bf10019.camel@debian.org> X-Original-References: <20170523173948.lvy3s7afwowvutb7@mapreri.org> <CACVNTcuoPdxfY0FrpOvN304JzqQi6-KnnT64+cmm0=h8HUxn5g@mail.gmail.com> <179353227407.773358.11659541748345036797@cybernative.ai> <auc0qIaMhPIs9Hai@aurel32.net> <20170523173948.lvy3s7afwowvutb7@mapreri.org> <auc0qIaMhPIs9Hai@aurel32.net>