ref: e543995bba25daacf2c7f1a9ff3ceee87bc5deee
parent: 30b7ca54c38e7229c32ec80df2c56bae9a5e5263
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Nov 8 09:21:14 EST 2020
imap4d: imap4date should ignore time and timezone (RFC3501, 6.4.4)
--- 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;
}