We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a406d71 + bcd81e6 commit e818094Copy full SHA for e818094
plexapi/utils.py
@@ -181,7 +181,7 @@ def toDatetime(value, format=None):
181
# https://bugs.python.org/issue30684
182
# And platform support for before epoch seems to be flaky.
183
# TODO check for others errors too.
184
- if int(value) == 0:
+ if int(value) <= 0:
185
value = 86400
186
value = datetime.fromtimestamp(int(value))
187
return value
0 commit comments