mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Don't convert 90-99 to 1900-1999
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user