Skip to content

Commit d94e0c5

Browse files
committed
added utils aggregate to improve code design
1 parent 84be6f7 commit d94e0c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/utils/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ def is_date(string, fuzzy=False):
3232
"""
3333
Return whether the string can be interpreted as a date.
3434
- https://stackoverflow.com/a/25341965/7120095
35-
35+
3636
:param string: str, string to check for date
3737
:param fuzzy: bool, ignore unknown tokens in string if True
3838
"""
39-
39+
4040
try:
4141
parse(string, fuzzy=fuzzy)
4242
return True
4343
except ValueError:
44-
return False
44+
return False

0 commit comments

Comments
 (0)