Comment 2 for bug 597778

Revision history for this message
Hartmut Holzgraefe (hartmut-php) wrote :

The value should be 60, not 61? As far as i understand there can be multiple leap seconds per year (as we had 1972), but not on the same day ...

Extra checks that *could* be added if _seconds==60:

* leap seconds can only happen in the last minute of an UTC day
* leap seconds usually happen on Jun 30th or Dec 31st (and so far exclusively have)
** English Wikipedia says theoretically they could be inserted at the end of any month
** German Wikipedia says prefered dates are in June or December, alternative dates are end of March or September, so impiles they could happen at the end of a quarter only