We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
layout, err := dateparse.ParseFormat("13-02-2015", dateparse.PreferMonthFirst(false)) This fails with error = Could not find format for "13-02-2015"
layout, err := dateparse.ParseFormat("13-02-2015", dateparse.PreferMonthFirst(false))
Could not find format for "13-02-2015"
Whereas, layout, err := dateparse.ParseFormat("13/02/2015", dateparse.PreferMonthFirst(false)) parses successfully
layout, err := dateparse.ParseFormat("13/02/2015", dateparse.PreferMonthFirst(false))
Are there any plans to support hyphens - in place of forward-slash / ?
-
/
The text was updated successfully, but these errors were encountered:
Incorporate support for dd-mm-yyyy (digit month)
fc278d3
Incorporate PR araddon#140 from https://github.com/dferstay to fix araddon#139 This also fixes araddon#155 (duplicate of issue 139) PR is adapted to avoid duplicate code and validate format.
Successfully merging a pull request may close this issue.
layout, err := dateparse.ParseFormat("13-02-2015", dateparse.PreferMonthFirst(false))
This fails with error =
Could not find format for "13-02-2015"
Whereas,
layout, err := dateparse.ParseFormat("13/02/2015", dateparse.PreferMonthFirst(false))
parses successfullyAre there any plans to support hyphens
-
in place of forward-slash/
?The text was updated successfully, but these errors were encountered: