Fix bug where the 8-char time wasn't being parsed correctly
This commit is contained in:
parent
15257a911d
commit
98461b586b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue