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

Update Customise parent locale #485

Merged
merged 2 commits into from Mar 2, 2018
Merged

Update Customise parent locale #485

merged 2 commits into from Mar 2, 2018

Conversation

cmyers
Copy link
Contributor

@cmyers cmyers commented Jan 6, 2018

This adds the description of defining a locale with a parent that hasn't itself been defined or loaded yet which has been available since 2.16.0. This also describes the additional behavior when creating a moment of lazy loading the parent locale if it isn't already loaded, or defaulting to the global locale if the parent doesn't exist. See PR #4310. As the next version number isn't determined yet, this should be merged only with the next release that includes the above PR.

This adds the description of defining a locale with a parent that hasn't itself been defined or loaded yet which has been available since 2.16.0. This adds the additional behavior when creating a moment of lazy loading the parent locale if it isn't already loaded, or defaulting to the global locale if the parent doesn't exist. See PR (moment/moment#4310) As the next version number isn't determined yet, this should be merged only with the next release that includes the above PR.
@marwahaha marwahaha merged commit 9fba96f into moment:master Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants