Parent Directory | Revision Log | Patch
revision 56 by james, Fri Mar 12 21:54:02 2004 UTC | revision 59 by james, Mon Apr 5 11:16:27 2004 UTC | |
---|---|---|
# | Line 460 bool parse_date(const char *s, struct tm | Line 460 bool parse_date(const char *s, struct tm |
460 | int len = strlen(s); | int len = strlen(s); |
461 | regmatch_t pmatch[20]; | regmatch_t pmatch[20]; |
462 | ||
463 | tm->tm_isdst = 0; | |
464 | tm->tm_gmtoff = 0; | |
465 | tm->tm_zone = "GMT"; | |
466 | ||
467 | if (len == 29) { | if (len == 29) { |
468 | /* RFC 1123 */ | /* RFC 1123 */ |
469 | r = regexec(&re_rfc1123, s, 20, pmatch, 0); | r = regexec(&re_rfc1123, s, 20, pmatch, 0); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |