Overview
| Artifact ID: | df241109985736b2686fed98141580102a4da337bba97938164db11be88c613c |
|---|---|
| Ticket: | 2c237beffbace823e27c6abe6a330e8fddbd1ca4
[clock] regression in tzdata (TZ generation in tclZIC seems not support new iana database format, e. g. %z instead of offset TZ-name) |
| User & Date: | sebres on 2026-03-03 23:20:47 |
Changes
- assignee changed to: "sebres"
- closer changed to: "nobody"
- icomment:
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: <code><pre style="margin-left:15pt"> # Math: # 3*60*60+30*60 == 12600 # 4*60*60+30*60 == 16200 # 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 </pre></code> (still worse - it'd be wrong by the conversion back, because clock scan would consider %Z incorrectly) I'll provide the fix together with updated tzdata.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Later"
- status changed to: "Open"