[clock] regression in tzdata (TZ generation in tclZIC seems not support new iana database format, e. g. %z instead of offset TZ-name)
The reason looks like "tools/tclZIC.tcl" didn't support the change on the format for IANA time zone database 2024b.
I'm preparing a branch bug-fix-tz-w-offs fixing tools/tclZIC.tcl and few other small bugs around it found by tests and attempt to fix github/tclclockmod#24. The branch is initiated as 8.5-based branch to avoid the regression in 8.5 by regeneration of tzdata with tools/tclZIC there.
This was also released with 8.6.15 and 9.0, so I guess it must be rereleased soon or a quick patch must be provided for maintainers.
Fixed in all branches now, thus close it.
For the patch of 8.6.15 see [6a166839ed62c9c1], 9.0 - [ab6663673f92f81f].
I'll reopen this, since the fix of tclZIC-tool has an issue for replacement of TZ with minutes.
For instance, TZ "America/Paramaribo" has an offset -12600, which shall result to the name "-0330" instead of "-0430" (like it does now).
PoC:
# Tcl-Clock:
% clock format 0 -timezone America/Paramaribo -format "%H:%M %Z"
20:30 -0430
% clock format 0 -timezone -0330 -format "%H:%M %Z"
20:30 -0330
% clock format 0 -timezone -0430 -format "%H:%M %Z"
19:30 -0430
(still worse - it'd be wrong by the conversion back, because clock scan would consider %Z incorrectly)
# Math:
# 3*60*60+30*60 == 12600
# 4*60*60+30*60 == 16200
I'll provide the fix together with updated tzdata.
The continuation issue resolved in [72997d924deaff7d] ... [163bdb1a4bdf56a3], ticket closed.