Overview
| Artifact ID: | 355136d660281fa91a30769bc843ed76b61f6e55ca5f2509559b50115f0dc6fa |
|---|---|
| Ticket: | 2a1d947d8c13506dc68d93a0d06784d4be1a1b58
Possible clock regression considering Julian-Gregorian transition incorrect |
| User & Date: | sebres on 2025-11-14 18:42:42 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
As mentioned by emiliano in chat, there seem to be 2 inconsistences regarding scanning of old timestamps (potentially affected by incorrect handling of Julian-Gregorian transition): 1. Validation seems to miss changing of Gregorian flag in some circumstances: <code><pre style="margin-left:15pt"> $ tclsh8.6 % puts [set d [clock scan "29.02.1700" -format {%d.%m.%Y} -gmt 1 -locale en]] -8514374400 % puts [clock format $d -format {%d.%m.%Y} -gmt 1 -locale en] 29.02.1700 $ tclsh9 % puts [set d [clock scan "29.02.1700" -format {%d.%m.%Y} -gmt 1 -locale en]] unable to convert input string: invalid day % puts [set d [clock scan "29.02.1700" -format {%d.%m.%Y} -gmt 1 -locale en -valid 0]] -8514374400 % puts [clock format $d -format {%d.%m.%Y} -gmt 1 -locale en] 29.02.1700 </pre></code> 2. There is a 8.6 -> 9 difference on free form scanning around year 1752: <code><pre style="margin-left:15pt"> $ tclsh8.6 % clock format [clock scan "9/1/1752 1 day ago"] -format %d 11 $ tclsh9 % clock format [clock scan "9/1/1752 1 day ago"] -format %d 31 </pre></code> - foundin changed to: "8.7+"
- is_private changed to: "0"
- login: "sebres"
- priority changed to: "5 Medium"
- private_contact changed to: "50e9528765c18296566374b3fde2df942c394efd"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "sebres"
- subsystem changed to: "16. Commands A-H"
- title changed to:
Possible clock regression considering Julian-Gregorian transition incorrect
- type changed to: "Bug"