Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Dateparser is highly reliant on regex definition order #4808

Closed
wesleycho opened this issue Nov 2, 2015 · 0 comments
Closed

Dateparser is highly reliant on regex definition order #4808

wesleycho opened this issue Nov 2, 2015 · 0 comments

Comments

@wesleycho
Copy link
Contributor

I discovered today that the dateparser is highly reliant on the order of key definition in the formatCodeToRegex object - this is highly flawed, as the JS spec itself specifies that the key order in iteration does not matter.

This fragility needs to be fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant