mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
fix: actually set date value
This commit is contained in:
parent
6d52afe4fe
commit
f91d6eb4b4
1 changed files with 1 additions and 1 deletions
|
@ -1252,7 +1252,7 @@ def _parse_date(txt: str) -> datetime:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
datetime.strptime(txt, "%Y-%m-%dT%H:%M")
|
date = datetime.strptime(txt, "%Y-%m-%dT%H:%M")
|
||||||
return date
|
return date
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue