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

Include all language options in date-utils #663

Merged

Conversation

jisantuc
Copy link
Member

@jisantuc jisantuc commented Jan 9, 2018

Overview

This PR makes all of the languages that the gregorian calendar object knows about in regional
options have corresponding entries in our languageMap in date-utils. It also makes it so that if
there's a language we don't know about, we just use a default calendar and format.

Testing

  • add some new languages to your language options
  • reprovision app
  • verify that you don't get console errors when using calendars for any of them

[finishes #154032496]

@jisantuc jisantuc changed the title Include all language options in date-utils [WIP] Include all language options in date-utils Jan 10, 2018
@jisantuc jisantuc changed the title [WIP] Include all language options in date-utils Include all language options in date-utils Jan 18, 2018
@jisantuc jisantuc requested a review from ddohler January 18, 2018 19:41
Copy link
Contributor

@ddohler ddohler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested -- works great!
georgiancalendar

@jisantuc jisantuc force-pushed the feature/js/include-all-language-options-in-date-utils branch from 679bd3f to 0e121e0 Compare January 19, 2018 14:16
@jisantuc jisantuc merged commit 5a83311 into develop Jan 19, 2018
@jisantuc jisantuc deleted the feature/js/include-all-language-options-in-date-utils branch January 19, 2018 16:56
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.

2 participants