Overview
| Artifact ID: | d93f523e718d1b26e774dfe4ea665fe8cd6463d09f93f27193cfe9737d817e9d |
|---|---|
| Ticket: | f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
clock scan of leapsecond: wrong result in 8.6 and 9.0 |
| User & Date: | jan.nijtmans on 2024-11-21 12:31:01 |
Changes
- closedate changed to: "2460636.021541"
- closer changed to: "jan.nijtmans"
- icomment:
Closing, since valid leap-second timestamps are now handled as being valid. > I'm trying to implement this properly (see my new branch bug-f2b5f89c0d-alt-leapsec) by consulting the leap seconds table with converted UTC time Sure, some non-valid timestamps are accepted as valid now. But - still - the current approach is useful even for an additional table-based check: If yyMinute % 15 != 14 (for example) or the date is not January 1st, June 30th, July 1st or December 31th, there is no need even to consult the table. That's already handling 99.93% of all cases! > ISO can change something every year, and one can and probably must reflect it on the scanning of the input side, but not if the result of conversion is impossible in principle. I don't think the ISO 8601 standard changes that often. Now we are conformant to the 2022 version. If - in the future - "leap minutes" are introduced, we will need to change the implementation again. For now, the 2022 version is the best we can do. Thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"