Fix bug where the 8-char time wasn't being parsed correctly

This commit is contained in:
Laurence Withers 2006-10-10 17:05:55 +01:00
parent 15257a911d
commit 98461b586b
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ int parse_time_time(const char* str, const char* end)
case 8:
h = parse_time_digs(str, 2);
m = parse_time_digs(str + 3, 2);
s = parse_time_digs(str + 5, 2);
s = parse_time_digs(str + 6, 2);
ret = h * 3600 + m * 60 + s + d + 0.5;
break;