diff options
| author | Ori Bernstein <ori@eigenstate.org> | 2020-11-08 14:21:14 -0800 |
|---|---|---|
| committer | Ori Bernstein <ori@eigenstate.org> | 2020-11-08 14:21:14 -0800 |
| commit | e543995bba25daacf2c7f1a9ff3ceee87bc5deee (patch) | |
| tree | 24851f81146d3ddc7b196c94870d2e6e4ea77249 | |
| parent | 30b7ca54c38e7229c32ec80df2c56bae9a5e5263 (diff) | |
| download | plan9front-e543995bba25daacf2c7f1a9ff3ceee87bc5deee.tar.xz | |
imap4d: imap4date should ignore time and timezone (RFC3501, 6.4.4)
| -rw-r--r-- | sys/src/cmd/upas/imap4d/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/imap4d/date.c b/sys/src/cmd/upas/imap4d/date.c index 89cb36c08..fb1394930 100644 --- a/sys/src/cmd/upas/imap4d/date.c +++ b/sys/src/cmd/upas/imap4d/date.c @@ -3,7 +3,7 @@ int imap4date(Tm *tm, char *date) { - if(tmparse(tm, "DD-?MM-YYYY hh:mm:ss ?Z", date, nil, nil) == nil) + if(tmparse(tm, "DD-?MM-YYYY", date, nil, nil) == nil) return 0; return 1; } |
