This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LIBC - improve strptime()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]