aboutsummaryrefslogtreecommitdiff
path: root/lib/parsedate.c
AgeCommit message (Collapse)Author
2004-11-29if gmtime() returns NULL, this returns -1 to bail out nicelyDaniel Stenberg
2004-11-11dates from 2038 or later now return 0x7fffffff when 32 bit time_t is usedDaniel Stenberg
2004-09-20less long => int implicit conversion warningsDaniel Stenberg
2004-09-15Replaced the former date parser with a rewrite. No more yacc/bison needed.Daniel Stenberg
2004-09-13and moved back the month array to a static one since the ftp code won't needDaniel Stenberg
it anymore
2004-09-13support for YYYYMMDD added, which allows us to keep using the lib/ftp.c codeDaniel Stenberg
I was previously #ifdef'ing to a different look when this parser is used
2004-09-13added more examples/docs in the top commentDaniel Stenberg
2004-09-13Since many users probably already use local time strings as input, I nowDaniel Stenberg
made it deal with named time zones as well as mail-style +0200 ones. Seems to work fine. I'm comparing with GNU date command: date -d [date] -u +%s
2004-09-11more docs and fixed the delta compared to GMT that prevented test case 141 toDaniel Stenberg
work with this
2004-09-11slightly better but still lacksDaniel Stenberg
2004-09-11getdate replacement code. smaller, slicker, faster.Daniel Stenberg