From: Thomas Roessler Date: Wed, 25 Apr 2001 21:37:13 +0000 (+0000) Subject: Use RFC 2822's interpretation of two-digit years. X-Git-Tag: mutt-1-3-18-rel~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9baba51fae6f976a481ce4ceea29e3ed53400081;p=mutt Use RFC 2822's interpretation of two-digit years. --- diff --git a/parse.c b/parse.c index 7ce2e83e..b87da402 100644 --- a/parse.c +++ b/parse.c @@ -770,7 +770,7 @@ time_t mutt_parse_date (const char *s, HEADER *h) case 2: /* year */ tm.tm_year = atoi (t); - if (tm.tm_year < 70) + if (tm.tm_year < 50) tm.tm_year += 100; else if (tm.tm_year >= 1900) tm.tm_year -= 1900;