X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=date.c;fp=date.c;h=66be23ab21ef855ecbadeceae1dea2972efd4c2f;hb=7122f82f56425d942bc5e892ed5e6b3bbd0a6724;hp=365dc3b14e47826dd7becf19a76e29bfaa6b2eb5;hpb=7612a1efdb0c0806b43db10ce784707aae874340;p=git.git diff --git a/date.c b/date.c index 365dc3b1..66be23ab 100644 --- a/date.c +++ b/date.c @@ -369,7 +369,7 @@ static int match_digit(const char *date, struct tm *tm, int *offset, int *tm_gmt /* Four-digit year or a timezone? */ if (n == 4) { - if (num <= 1200 && *offset == -1) { + if (num <= 1400 && *offset == -1) { unsigned int minutes = num % 100; unsigned int hours = num / 100; *offset = hours*60 + minutes;