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