News for hackers. Stuff that matters.
Re:ISO name change for Türkiye by mort96 on Tuesday July 12, 2022 @09:52AM (#32069929)
Huh, but there is no 1 second gap between 23:59:59 and 00:00:00. The time is 23:59:59 for a whole second, and then once that second is done, the time is 00:00:00 the next day.
Re:ISO name change for Türkiye by progval on Tuesday July 12, 2022 @01:04PM (#32072833)
It depends whether you interpret "23:59:59" as being an instant (1 second before the end of most days) or a duration (the last second of most days).

23:59:59.500 is after 23:59:59 when interpreted as an instant, but it is part of 23:59:59 as a duration.

Re:ISO name change for Türkiye by throwaway294566 on Tuesday July 12, 2022 @05:32PM (#32075960)
Thats why the day doesn't end at the instant of 23:59:59, nor does it end at 23:59:60 (if there is a leap second). It actually ends at 24:00:00. Which is the same instant in time as 00:00:00 of the following day. Every conforming implementation of ISO 8601 should know about that. And all software should conform to ISO 8601.
Re:ISO name change for Türkiye by tommit on Tuesday July 12, 2022 @10:26AM (#32070444)
That's how I would interpret it as well. It gets easier to imagine when we put in milliseconds. Why would 23:59:59.456 already be the following day?
Re:ISO name change for Türkiye by whoopdedo on Tuesday July 12, 2022 @12:12PM (#32072034)
And then there are leap seconds.