diff options
| author | 2022-01-19 16:55:09 +0530 | |
|---|---|---|
| committer | 2022-01-19 16:55:09 +0530 | |
| commit | c7a644bb6457f1d08fc908c0111d258b7c730e79 (patch) | |
| tree | 24e44b47c987eacb347ce59f0ee3686ef1f93c85 /bot/exts/utilities/epoch.py | |
| parent | rewrite, use the rtex api instead of mpl (diff) | |
| parent | Make error messages more consistent in the AoC daystar view (#973) (diff) | |
Merge branch 'main' into feat/latex
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/utilities/epoch.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/epoch.py b/bot/exts/utilities/epoch.py index b9feed18..03758af0 100644 --- a/bot/exts/utilities/epoch.py +++ b/bot/exts/utilities/epoch.py @@ -35,7 +35,7 @@ class DateString(commands.Converter):          """          try:              return arrow.utcnow().dehumanize(argument) -        except ValueError: +        except (ValueError, OverflowError):              try:                  dt, ignored_tokens = parser.parse(argument, fuzzy_with_tokens=True)              except parser.ParserError:  |