From e543995bba25daacf2c7f1a9ff3ceee87bc5deee Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sun, 8 Nov 2020 14:21:14 -0800 Subject: imap4d: imap4date should ignore time and timezone (RFC3501, 6.4.4) --- sys/src/cmd/upas/imap4d/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3