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

Fix month parsing for locales with spaces in their month names #220

Closed
wants to merge 1 commit into from

Conversation

bryanforbes
Copy link
Member

Some locales use the format "Month X" for their wide and abbreviated month names (for instance, Vietnamese uses "Tháng 1" for wide and "thg 1" for abbreviated) and the \S+? regular expression fails to parse it correctly. This PR updates the parsing code to generate the regular expression using the names defined in the locale bundle.

@jquerybot
Copy link

Thank you for your pull request. It looks like this may be your first contribution to a jQuery Foundation project, if so we need you to sign our Contributor License Agreement (CLA).

📝 Please visit http://contribute.jquery.org/CLA/ to sign.

After you signed, the PR is checked again automatically after a minute. If there's still an issue, please reply here to let us know.


If you've already signed our CLA, it's possible your git author information doesn't match your CLA signature (both your name and email have to match), for more information, check the status of your CLA check.

@dylans dylans added this to the 1.12 milestone Sep 28, 2016
@dylans
Copy link
Member

dylans commented Sep 29, 2016

Ticket added at https://bugs.dojotoolkit.org/ticket/18900

@dylans
Copy link
Member

dylans commented Nov 19, 2016

Closed via 162e403. Backported as 7f6a01d (1.11), ed3c06f (1.10), d219aa8 (1.9), and 3ef9e26 (1.8).

@dylans dylans closed this Nov 19, 2016
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.

4 participants