Artifact b5a307a9ee69efe6bae8be7e4b79a6f56d4b8e5d329722eb21820e8b32bb0efe:
- File
generic/tclClock.c
- 2026-11-14 13:10:44 — part of check-in [60c16ebe54] on branch clock-range-8-6 — Fix relative months and years before the common era, and dates that wrap around in clock add and the julian day helpers (see [f894a85b9a]). AddMonths added the months to the year of the era, so 1 year after 101 B.C.E. gave 102 B.C.E. It now works with the astronomical year. The julian day was an int, and TclGetIntFromObj() accepts values up to UINT_MAX and wraps them around, so clock add with large offsets and the julian day helpers returned wrapped dates. The julian day is now a Tcl_WideInt, the helpers calculate in 64 bits, and julian days out of +-0x7F000000 (about 5.8 million years) raise "integer value too large to represent". clock format of such seconds is unchanged (clock-61.3). (user: serhiy.storchaka, size: 58477) [annotate] [blame] [check-ins using]
- 2026-11-24 11:34:43 — part of check-in [a0288fe887] on branch core-8-6-branch — Fix [f894a85b9a]: Free-form clock scan silently wraps numbers that do not fit into an int (user: jan.nijtmans, size: 58477) [annotate] [blame] [check-ins using]