You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for the great app.
There's an issue in tagging.py that the datetime.fromisoformat() method doesn't support 'Z' at the end of the timestamp. This prevents downloading.
example error: File "C:\shira\shiradl\tagging.py", line 48, in metadata_applier v = datetime.fromisoformat(str(v)).date() ValueError: Invalid isoformat string: '2015-08-02T00:00:00Z'
Fix: in tagging.py
swapped out from datetime import datetime to from dateutil import parser
swapped out v = datetime.fromisoformat(str(v)).date() to v = parser.isoparse(str(v)).date()
The dateutil library seems to just handle UTC 'Z' easier.
Alternatively having a timezone cli option could help me to set something up from the get go.
The text was updated successfully, but these errors were encountered:
ah, okay. i didn't know about dateutil. i'll work on a fix. thanks for letting me know what you did to fix it.
i'm just glad the app is getting so many users :)
Firstly, thanks for the great app.
There's an issue in tagging.py that the datetime.fromisoformat() method doesn't support 'Z' at the end of the timestamp. This prevents downloading.
example error:
File "C:\shira\shiradl\tagging.py", line 48, in metadata_applier v = datetime.fromisoformat(str(v)).date() ValueError: Invalid isoformat string: '2015-08-02T00:00:00Z'
Fix: in tagging.py
swapped out
from datetime import datetime
tofrom dateutil import parser
swapped out
v = datetime.fromisoformat(str(v)).date()
tov = parser.isoparse(str(v)).date()
The dateutil library seems to just handle UTC 'Z' easier.
Alternatively having a timezone cli option could help me to set something up from the get go.
The text was updated successfully, but these errors were encountered: