by mikeash · 11y ago · 0 comments
I guess people don't want a database of leap seconds and a lookup each time time is rendered, but ultimately it seems like the best solution which is least likely to break things.
One drawback of your approach is that I can't just see if a time = 0 mod 60 to check if we are on a minute boundary.
Your way is what is used by the GPS network, IIRC, and it works for them, so there you go.