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

Don't clear i18n #39

Merged
merged 1 commit into from
Feb 13, 2019
Merged

Don't clear i18n #39

merged 1 commit into from
Feb 13, 2019

Conversation

nmunrod2l
Copy link
Contributor

From what I can tell this causes issues in Polymer 2 and 3.

The specific crash I'm seeing occurs here: https://github.com/vaadin/vaadin-date-picker/blob/master/src/vaadin-date-picker-overlay-content.html#L450

If i18n is cleared, then the formatDate function is null and this crashes.

I tried at the beginning of this function to manually set this.locale to fr and my date picker opens in French, so I'm assuming that this reassign issue no longer exists.

@nmunrod2l nmunrod2l requested a review from alogan519 as a code owner February 12, 2019 21:20
@nmunrod2l
Copy link
Contributor Author

I don't have write access to this repo. Can someone merge this for me?

@dlockhart dlockhart merged commit afeb7d2 into BrightspaceUI:master Feb 13, 2019
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.

3 participants