Overview
| Artifact ID: | e174d8f70da2d26f9db887e72fa4241ddf6dfe677c61297a16fcf5afcdc21805 |
|---|---|
| Ticket: | f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
clock scan of leapsecond: wrong result in 8.6 and 9.0 |
| User & Date: | sebres on 2024-11-15 18:03:49 |
Changes
- icomment:
Since free-scan of 8.6 was indeed wrong (regardless the conclusion of this issue with leap second), because of day decrement caused by -1 from <i>ToSecond()</i>, I fixed it now by backporting the fix from tclclockmod (8.7) in [595fad24d70e1693], additionally it covers now formatted scan too. So now it works with the same result as formatted scan (also the adjustment of test <code>clock-46.6</code> was necessary, so it is also cherry-picked from tclclockmod and it is equal now to 8.7+).<br/> And [92493234f7da30f0] illustrates the coverage change for 8.7/9.0 - the same tests as 8.6 with a constraint valid_off and additional tests (leap in wrong days) with constraint !valid_off, inclusive formatted scan for all tests too. However (just for the record) all the changes are not affected by the decision about this (and are pure fixes and regression tests), I'm still against considering the leap second as valid input.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"