This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: LIBC - improve strptime()
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 at mlbassoc dot com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------