Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
whatchanged: Default to DIFF_FORMAT_RAW
[gitweb.git]
/
date.c
diff --git
a/date.c
b/date.c
index 365dc3b14e47826dd7becf19a76e29bfaa6b2eb5..66be23ab21ef855ecbadeceae1dea2972efd4c2f 100644
(file)
--- 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 <= 1
2
00 && *offset == -1) {
+ if (num <= 1
4
00 && *offset == -1) {
unsigned int minutes = num % 100;
unsigned int hours = num / 100;
*offset = hours*60 + minutes;