fix: actually set date value

This commit is contained in:
Daylin Morgan 2023-08-29 16:05:42 -05:00
parent 6d52afe4fe
commit f91d6eb4b4
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -1252,7 +1252,7 @@ def _parse_date(txt: str) -> datetime:
pass
try:
datetime.strptime(txt, "%Y-%m-%dT%H:%M")
date = datetime.strptime(txt, "%Y-%m-%dT%H:%M")
return date
except ValueError:
pass