Skip to content

Commit e691e9d

Browse files
committed
Merge remote-tracking branch 'origin/invalid_datetime' into invalid_datetime
2 parents 31f2b52 + 3f9a93a commit e691e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onvif/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def pythonvalue(self, value: str) -> time:
8181
pass
8282

8383
# Some cameras overflow the hours/minutes/seconds
84-
# For example, 2024-08-17T00:61:16Z so we need
84+
# For example, 00:61:16Z so we need
8585
# to fix the overflow
8686
fixed_time, offset = _try_fix_time_overflow(value)
8787
if fixed_dt := _try_parse_datetime(f"2024-01-15T{fixed_time}Z"):

0 commit comments

Comments
 (0)