LIBC - improve strptime()

Gary Thomas gary@mlbassoc.com
Tue Mar 18 14:40:00 GMT 2003


On Tue, 2003-03-18 at 07:38, Andrew Lunn wrote:
> > +    timeptr->tm_yday = 1;  // Initialize to a well known, valid date
> > +    timeptr->tm_isdst = 0; //   Tuesday March 18 14:05:00 2003 UTC
> > +    timeptr->tm_sec = 0;
> > +    timeptr->tm_min = 5;
> > +    timeptr->tm_hour = 24;
> 
> Sanity check: Shouldn't that be 14 not 24?

I'm sure it should :-)  Thanks.

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------



More information about the Ecos-patches mailing list