Skip to content

Allow parsing unambiguous DMY even if prefer_mdy is false #1

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

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

ng-henry
Copy link

Even if prefer_mdy is false, we should still allow parsing unambiguous MDY like "31/3/22". Right now, that fails.

This PR allows parsing dates like "31/3/22" even if prefer_mdy is false, and allows parsing "3/31/22" even if prefer_mdy is true.

@jqnatividad jqnatividad merged commit 8457202 into jqnatividad:main Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants