diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-17 17:49:28 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-17 17:49:28 -0700 |
commit | 8c278abcbe35b23e9f93e99daf2144336fad1849 (patch) | |
tree | 6190e0f7366958ed15583c8c9d64fc1a736e2e61 | |
parent | ae448e3854d8b6e7e37aa88fa3917f5dd97f3210 (diff) | |
parent | 7122f82f56425d942bc5e892ed5e6b3bbd0a6724 (diff) | |
download | git-8c278abcbe35b23e9f93e99daf2144336fad1849.tar.gz |
Merge branch 'pe/date'
* pe/date:
date.c: improve guess between timezone offset and year.
-rw-r--r-- | date.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |