Skip to content

Commit

Permalink
fix: arrow date out of range issue fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Sep 1, 2024
1 parent 8b1d686 commit d19d544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PTT/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def inner(input_value: str) -> Optional[str]:
for fmt in formats:
try:
return arrow.get(sanitized, fmt).format("YYYY-MM-DD")
except arrow.parser.ParserError:
except Exception:
continue
return None

Expand Down

0 comments on commit d19d544

Please sign in to comment.