-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"-4" parsed as a date #2694
Comments
this is above my head is '-4' a valid timestamp or not. It could be relative to 01.01.1970 in millis? |
hmm maybe I missunderstand are you complaining that -4 shoudl throw an exception as well or that -4 is interpreted as a date and you get a subsequent exception? |
Hu no, I believe no human would ever say that this document looks like it contains any dates, so I'd expect not to run into any exceptions. |
Agreed on no humans, sadly, we are using computers :). Will work on fixing it, the string |
💻 doesn't have to overthrow 👪, but if it cannot find a year, month and day, I'd say it should not be guessing a timestamp. |
If anybody arrives here by searching for the error, here's a workaround (disables date detection altogether on
|
The text was updated successfully, but these errors were encountered: