Overview
| Artifact ID: | 88996a4c65490ea8855734e6aed138d1bde515c22e53c35a9acd18c04fd4b2c0 |
|---|---|
| Ticket: | f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
clock scan of leapsecond: wrong result in 8.6 and 9.0 |
| User & Date: | jan.nijtmans on 2024-11-21 14:05:06 |
Changes
- icomment:
> And your implementation, as already said, switches to the next calendar day (and next calendar month or even still worse to next calendar year) No, it doesn't do that any more. I found a solution for that. ;-) [https://core.tcl-lang.org/tcl/file?name=generic/tclClock.c&ci=d3744ffffc620ecc&ln=3736-3737] In case of a leap-second or "24:00", yySecondOfDay can become equal to SECONDS_PER_DAY, without jumping to the next day any more. That already solves all corner-cases related to jumping to the next calendar day/month/year. - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"