Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f468b2e81fbe7b8adbe9fba898f6428f09af363df57d47190f3329fe60714005
Ticket: aa082a279c5d3a39d400fd9e8137ba0544422091
clock format "time zone not found" with valid zoneinfo file
User & Date: sebres on 2026-09-10 22:04:01
Changes

  1. closedate changed to: "2461294.4194628936"
  2. closer changed to: "sebres"
  3. icomment:
    Merged. Thx!
    
    As for J59 and case covered in clock-70.4, yes I am agree - in POSIX Jn rule, leap days are entirely skipped in the count, and because it is day 59 (J59) and exactly 02:00, the switch to DST happens at this very second, so the clock instantly "springs" forward by one hour in this TZ (to avoid DST hole), transforming 02:00 EST (-0500) into 03:00 EDT (-0400).
    
    PoC in *nix shell:
    <code><pre style="margin-left:15pt">
    $ TZ=EST5EDT          date -d @1961564400 '+%Y-%m-%d %H:%M:%S %z %Z'
    2032-02-28 02:00:00 -0500 EST
    $ TZ=EST5EDT,J59,J300 date -d @1961564400 '+%Y-%m-%d %H:%M:%S %z %Z'
    2032-02-28 03:00:00 -0400 EDT
    </pre></code>
    Integrated to 8.6 and 9.0 ([e81697229f3ebad8]).
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"