LIBC - improve strptime()

Andrew Lunn andrew.lunn@ascom.ch
Tue Mar 18 14:38:00 GMT 2003


> +    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



More information about the Ecos-patches mailing list