News for hackers. Stuff that matters.
Re:GitHub search for 84600 seconds. Oops. by CanSpice on Thursday May 08, 2014 @05:11PM (#7717739)
Except it shouldn't, because when you have a leap second occur, suddenly you're off by a second.

A day is a day, it's not 86400 seconds.

Re:GitHub search for 84600 seconds. Oops. by rossy on Friday May 09, 2014 @01:16AM (#7719490)
Most operating systems and frameworks don't expose the concept of leap seconds to user code. For example, Unix time is the number of seconds since the epoch ignoring leap seconds, so a program that compares timestamps generated by time() would be correct in assuming that a day is 86400 units of time_t.