aboutsummaryrefslogtreecommitdiff
path: root/lib/parsedate.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-13 07:57:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-13 07:57:12 +0000
commitb85a036e4a26c6c9da054e2f6e6fd1bbed2850cf (patch)
tree3f49f302f7768d74e077bfc2be211bc8af880a1a /lib/parsedate.c
parent7885264b293c1909b07f9aa08896337c85c2e432 (diff)
added more examples/docs in the top comment
Diffstat (limited to 'lib/parsedate.c')
-rw-r--r--lib/parsedate.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index fe2cd1ea1..29d8b1a68 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -35,7 +35,7 @@
06-Nov-94 08:49:37 GMT
Nov 6 08:49:37 1994
- without the time zone (we always assume GMT):
+ without the time zone:
06 Nov 1994 08:49:37
06-Nov-94 08:49:37
@@ -52,11 +52,21 @@
06-Nov-94
Sun Nov 6 94
- odd separators:
+ unusual separators:
1994.Nov.6
Sun/Nov/6/94/GMT
+ commonly used time zone names:
+
+ Sun, 06 Nov 1994 08:49:37 CET
+ 06 Nov 1994 08:49:37 EST
+
+ time zones specified using RFC822 style:
+
+ Sun, 12 Sep 2004 15:05:58 -0700
+ Sat, 11 Sep 2004 21:32:11 +0200
+
*/
#include "setup.h"
#include <stdio.h>