This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: LIBC - improve strptime()
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: Tue, 18 Mar 2003 15:38:16 +0100
- Subject: Re: LIBC - improve strptime()
- References: <1047998092.7459.3044.camel@hermes.chez-thomas.org>
> + 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?
Andrew