Skip to content
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

month/day parsing issue with en-AU for single digit months #245

Open
Matty666 opened this issue Apr 9, 2015 · 0 comments
Open

month/day parsing issue with en-AU for single digit months #245

Matty666 opened this issue Apr 9, 2015 · 0 comments

Comments

@Matty666
Copy link

Matty666 commented Apr 9, 2015

parsing the string '2015-04-10' using en-US or en-AU works as expected, toString returns '10 Apr 2015' for format string 'dd MMM yyy'.

However for string '2015-4-10', en-US works as expected, however when the language is en-AU it returns '04 Oct 2015'. Is there some reason why it behaves differently for single digit months with en-AU?

This fiddle demonstrates the problem:

https://jsfiddle.net/DJMatty/wxzbp1r7/

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

No branches or pull requests

1 participant