From a83bf495b1e0b03d996be23e195ddac25f0106f4 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Sun, 21 Nov 2021 10:17:06 -0500 Subject: [PATCH] Don't convert 90-99 to 1900-1999 --- src/token.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/token.c b/src/token.c index 678b5233..e93311ce 100644 --- a/src/token.c +++ b/src/token.c @@ -337,9 +337,6 @@ void FindNumericToken(char const *s, Token *t) /* If we hit a non-digit, error! */ if (*s) return; - /* Special hack - convert years between 90 and 99 to 1990 and 1999 */ - if (t->val >= 90 && t->val <= 99) t->val += 1900; - /* Classify the number we've got */ if (t->val >= BASE && t->val <= BASE+YR_RANGE) t->type = T_Year; else if (t->val >= 1 && t->val <= 31) t->type = T_Day;