Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 441e0b74030a50af2481a8660bc5bad7d365b0807b858740cd62f3913b862e90
Ticket: f894a85b9a4412d77d4f3234e5a244b7b4d476a2
Free-form clock scan silently wraps numbers that do not fit into an int (regression in 9.0)
User & Date: serhiy.storchaka on 2026-11-14 13:45:15
Changes

  1. icomment:
    For 8.6: proposed fix in branch [clock-range-8-6](/timeline?r=clock-range-8-6). 8.6 has the B.C.E. bug in relative months and years, and wraps dates in `clock add` and the julian day helpers (`clock add 0 2147483647 years` gave 4455773-12-22 instead of the year 2147485617). Julian days beyond about ±5.8 million years now raise "integer value too large to represent". Numbers that do not fit into an int are already a syntax error in the 8.6 parser, and `clock format` of such seconds is unchanged.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-markdown"