6 ms·
> So last time the leap second issue came up, I learned that it's an "issue" because (as this article mentions) POSIX defines one day as exactly 86400 seconds.
by lmm 13y ago
> So last time the leap second issue came up, I learned that it's an "issue" because (as this article mentions) POSIX defines one day as exactly 86400 seconds. That's clearly incorrect; why do we still want to keep that definition around?
If we didn't do that it would be impossible to express times more than about 6 months into the future as POSIX timestamps, since we wouldn't know how many leap seconds there would be between now and then.
- masklinn 13y ago> If we didn't do that it would be impossible to express times more than about 6 months into the future as POSIX timestamps Right, so don't store datetimes as POSIX timestamps.