imap4d: imap4date should ignore time and timezone (RFC3501, 6.4.4)
This commit is contained in:
parent
30b7ca54c3
commit
e543995bba
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
int
|
int
|
||||||
imap4date(Tm *tm, char *date)
|
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 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue