]> granicus.if.org Git - mutt/commitdiff
Use RFC 2822's interpretation of two-digit years.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 25 Apr 2001 21:37:13 +0000 (21:37 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 25 Apr 2001 21:37:13 +0000 (21:37 +0000)
parse.c

diff --git a/parse.c b/parse.c
index 7ce2e83e15c7dd18f386b64e4452fda5d5b8c79f..b87da402ac2042f80b8d85a07a5f9aca80a4a62e 100644 (file)
--- 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;