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

Issue with strictly parsing a formatted date #3088

Closed
rafeememon opened this issue Apr 3, 2016 · 2 comments
Closed

Issue with strictly parsing a formatted date #3088

rafeememon opened this issue Apr 3, 2016 · 2 comments

Comments

@rafeememon
Copy link

I'm running into an issue where a formatted date outputted by moment cannot be strictly parsed when passed back into moment. Specifically, I'm using the format ll, which appears to work with the en locale but doesn't work when the locale is fr. (Not sure if this affects all locales, but a unit test in one of my projects shows it's an issue with at least de as well.)

Fiddle: https://jsfiddle.net/pph91sz1/

@maggiepint
Copy link
Member

Yes, this is one of our favorite bugs these days! Cultures that use . in their short month names don't work so well.

Pull request #3078 is work in progress to fix this.

Pull requests #3060 and #2977 can't be merged until we fix this.

If you don't mind, I'm going to close this since we already have quite a few issues open related to this problem.

@rafeememon
Copy link
Author

Sounds good -- sorry for not finding the existing issues/PRs. Thanks for the great work!

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

2 participants