[XML-SIG] leap seconds

Alexandre Alexandre.Fayolle@logilab.fr
Fri, 19 Apr 2002 11:46:50 +0200


On Fri, Apr 19, 2002 at 09:31:35AM +0200, Martin v. Loewis wrote:
> Alexandre <Alexandre.Fayolle@logilab.fr> writes:
> 
> > Now, this may be dumb, since I'm not very familiar with the intricacies
> > of real date and time manipulations, but is 60 an allowed value for
> > seconds? In other words, should not this read 
> > 
> > if not 0 <= seconds < 60: 
> 
> There is: if you have a leap second (see below for a list of past leap
> seconds); they may be a second numbered 60.
 
And I thought handling DST was a nightmare... Now you tell me there are leap
seconds!

Who said that to any given problem, there is at least one clear, obvious
simple, wrong solution? ;o)

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).