docker-rust icon indicating copy to clipboard operation
docker-rust copied to clipboard

Time zone database regression going from 1.88 to 1.89

Open mblaze opened this issue 4 months ago • 1 comments

When upgrading from 1.88 to 1.89 we've encountered an issue with the system time zone DB. In our tests we initialize a jiff::tz::TimeZone with CET and get the following error:

failed to find timezone 'CET' in time zone database

I suspect that the problem lies in /usr/share/zoneinfo, at least that's what jiff documentation would suggest.

Lastly, we've been using the latest tag and when I downgraded to 1.88 it works as expected.

mblaze avatar Sep 12 '25 09:09 mblaze

The root cause seems to stem from the fact that trixie moved timezones that don't follow the current tzdata naming convention into tzdata-legacy. You are seeing this change happen on the switch to 1.89.0 because latest tag switched to trixie not long after 1.89.0 was released.

As for solutions, installing tzdata-legacy in the test container would fix the issue, but it would probably be better to switch to a supported timezone.

Muscraft avatar Sep 17 '25 22:09 Muscraft