utils.datetime.is8601_parse no longer has a "microseconds" arg

This commit is contained in:
jesopo 2020-01-20 16:26:46 +00:00
parent 119066b549
commit 37b15e442d

View file

@ -45,7 +45,7 @@ class Module(ModuleManager.BaseModule):
content = item["contentDetails"]
video_uploaded_at = utils.datetime.iso8601_parse(
snippet["publishedAt"], microseconds=True)
snippet["publishedAt"])
video_uploaded_at = utils.datetime.date_human(video_uploaded_at)
video_uploader = snippet["channelTitle"]