Overview
| Artifact ID: | d424ee580ab994da61111fe5feac1d4ef89357d9c42ae60f61b66e7c7d54f103 |
|---|---|
| Ticket: | f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
clock scan of leapsecond: wrong result in 8.6 and 9.0 |
| User & Date: | sebres on 2024-11-21 19:01:16 |
Changes
- icomment:
No matter formatted or not, your variant produces a result which going to the next day, month or even year, what is definitely wrong. According to ISO 8601 the leap second shall remain in the same calendar day! Your leap seconds moves to next calendar day, month or even year. This is neither expected result, nor correlates with the standard. All the time I told you about the problematic or its representation, and you ignored it. Now you just tell - don't bring format into play, to justify your mistake. The problem is not the format, but the fact that the unix-time you generated is in the next calendar day. That's it. How one can ignore format (or whatever action with resulting unix-time), if it is a target of conversion? Your approach may work only if someone will check whether the given time is not rejected, but would not work if the result of scan used somewhere in further calculations. Imagine: someone needs to obtain day of week, week of year, day, month or year from the result of scan operation - everything this will be incorrect for this input. And, again, not conform to the standard too and to the handling of the OSs. Either this must be fixed (remains the same second than "23:59:59 UTC", how also the OSs will do by such seconds), or it must be reverted and leap second is then basically invalid as before by scan operations. And you continue to prefer a false result to no result.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"