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 | mailinfo: ignore blanks after in-body headers. (diff) | |
| parent | date.c: improve guess between timezone offset and year. (diff) | |
| download | git-8c278abcbe35b23e9f93e99daf2144336fad1849.tar.gz git-8c278abcbe35b23e9f93e99daf2144336fad1849.zip | |
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; |
