mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -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
|
||||
|
||||
try:
|
||||
datetime.strptime(txt, "%Y-%m-%dT%H:%M")
|
||||
date = datetime.strptime(txt, "%Y-%m-%dT%H:%M")
|
||||
return date
|
||||
except ValueError:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue