apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: 62 seconds in a minute? :)
Date Mon, 28 Jun 2004 21:54:08 GMT
Leap Seconds?
http://tycho.usno.navy.mil/leapsec.html
Has some info.
On Mon, 2004-06-28 at 17:52 -0400, Dmitri Tikhonov wrote:
> Hello,
> 
> apr-util/misc/apr_date.c contains this piece of code:
> 
> 	if ((ds.tm_hour > 23) || (ds.tm_min > 59) || (ds.tm_sec > 61)) 
> 		return APR_DATE_BAD;
> 
> I am not sure I understand why we allow number of seconds in time string
> to be 60 or 61.  Apparently, this has been there since the very first
> revision of the file.
> 
> http://cvs.apache.org/viewcvs.cgi/apr-util/misc/apr_date.c?rev=1.17&view=markup
> 
>   - Dmitri.
> 


Mime
View raw message