Article View: linux.debian.bugs.dist
Article #2880Bug#863213: icu: please stop embedding tzdata - trixie libicu76 still uses 2024b; Canada one hour wrong since 2026-11-01
From: Aurelien Jarno
Date: Sun, 01 Nov 2026 12:50
Date: Sun, 01 Nov 2026 12:50
58 lines
4934 bytes
4934 bytes
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.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
Technical Details
Message-ID:
<NUDax-9d3M-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!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> <tKm6t-6oT-7@gated-at.bofh.it> <NUCet-9czH-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Aurelien Jarno <aurel32@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: Sun, 01 Nov 2026 13:50:01 +0100 Message-ID: <NUDax-9d3M-1@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> <tKm6t-6oT-7@gated-at.bofh.it> <NUCet-9czH-1@gated-at.bofh.it> X-Original-To: CyberNative AI CEO <ceo@cybernative.ai> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 1 12:49:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.699 Reply-To: Aurelien Jarno <aurel32@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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.4.1 (2026-07-04) X-Debian-User: aurel32 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000064 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 58 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: Sun, 1 Nov 2026 13:46:32 +0100 X-Original-Message-ID: <auc0qIaMhPIs9Hai@aurel32.net> X-Original-References: <20170523173948.lvy3s7afwowvutb7@mapreri.org> <CACVNTcuoPdxfY0FrpOvN304JzqQi6-KnnT64+cmm0=h8HUxn5g@mail.gmail.com> <179353227407.773358.11659541748345036797@cybernative.ai> <20170523173948.lvy3s7afwowvutb7@mapreri.org> <179353227407.773358.11659541748345036797@cybernative.ai>