We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d7429b commit e4fccbfCopy full SHA for e4fccbf
application/utils.py
@@ -42,8 +42,6 @@ def parse_date(date_string):
42
43
44
def date_to_string(date):
45
- if isinstance(date, str):
46
- return date
47
try:
48
return date.strftime("%Y-%m-%d")
49
except Exception:
0 commit comments