-
Notifications
You must be signed in to change notification settings - Fork 169
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
Date format of DD.MM.YYYY HH:MM:SS not supported #129
Comments
For me I ended up rewriting the part that was supposed to use dateparse to accept Go date format as guideline for parsing dates. |
@mehanizm why you fork the repo ? maybe better create PR to fix it. |
klondikedragon
added a commit
to itlightning/dateparse
that referenced
this issue
Dec 12, 2023
Incorporates PR araddon#133 from https://github.com/mehanizm to fix araddon#129 Adds test cases to verify the following are already fixed: * araddon#105
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried also with dateparse.RetryAmbiguousDateWithSwap(true) option. Using Debugger it is visible it switches the flag, but it still finds the month to be out of range. Seems like it does not try to parse it with correct format still.
From the parser object it is visible it still has dayi and daylen set to cover 4th and 5th char and moi and molen to cover first and second char which is wrong.
parsing time "15.07.2021 05:37:00": month out of range
As also stated #91 then the majority of locales using dot notation are either DD.MM.YYYY or YYYY.MM.DD
The text was updated successfully, but these errors were encountered: