projects
/
pyutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b57b609
)
Be less annoying.
author
Scott Gasch
<scott@gasch.org>
Sun, 11 Dec 2022 20:04:28 +0000
(12:04 -0800)
committer
Scott Gasch
<scott@gasch.org>
Sun, 11 Dec 2022 20:04:28 +0000
(12:04 -0800)
src/pyutils/string_utils.py
patch
|
blob
|
history
diff --git
a/src/pyutils/string_utils.py
b/src/pyutils/string_utils.py
index ae75ed07ed2a9d726818f42b1ab87939a1ccac81..1e791eb2e3774d80c5f74d37e1795f13e2fc5742 100644
(file)
--- a/
src/pyutils/string_utils.py
+++ b/
src/pyutils/string_utils.py
@@
-1681,8
+1681,7
@@
def to_date(in_str: str) -> Optional[datetime.date]:
d.parse(in_str)
return d.get_date()
except du.ParseException: # type: ignore
- msg = f'Unable to parse date {in_str}.'
- logger.warning(msg)
+ pass
return None