Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 22e783dca78953aba5faabff3a8ddb47d6d2f51ed958650e00617dd3e5bd069a
Ticket: aa082a279c5d3a39d400fd9e8137ba0544422091
clock format "time zone not found" with valid zoneinfo file
User & Date: kenneth.kienle on 2026-09-03 20:01:57
Changes

  1. icomment:
    Still present in 8.6.18 for any POSIX TZ rule in the `Jn` or `n`
    day-of-year form, as a TZif footer or a `-timezone` string:
    
        % clock format 1720000000 -timezone {EST5EDT,J60,J300}
        time zone "EST5EDT,J60,J300" not found: missing value to go with key
    
    `DeterminePosixDSTTime` passes the bare year to `IsGregorianLeapYear`,
    which expects a date dict and also reads its `gregorian` key. main fixed
    exactly this (the dict is created with `gregorian 1` and passed) - the
    same two lines proposed above in 2016. Attached is the core-8-6-branch
    backport (4 lines). Verified with a synthetic version-2 TZif file whose
    footer is `EST5EDT,J60,J300` and with `IRST-3:30IRDT,J79/24,J263/24`,
    glibc agreeing on every instant; 9.0.4 already passes. No zone in tzdata
    2026c writes a J-form footer (0 of 598), which is why the tests do not
    see it; a user's TZ string does. With the backport this ticket can close.
    Related: [832d098fdfec8f004cf1c8e8836f7c335da12d54].
    
  2. login: "kenneth.kienle"
  3. mimetype: "text/x-markdown"