Fix parsing of 2-character timestamps
Fix parsing of 2-character timestamps to be minute timestamps at midnight GMT
This commit is contained in:
parent
37eb4fc2be
commit
912c8d14a8
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ def time_from_str(time: str):
|
||||||
|
|
||||||
if size <= 2:
|
if size <= 2:
|
||||||
return (
|
return (
|
||||||
int(time) % 24,
|
0,
|
||||||
0
|
int(time) % 60,
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Reference in a new issue