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

Fixes LocaleProvider moment usage #9853

Merged
merged 1 commit into from
Mar 29, 2018
Merged

Fixes LocaleProvider moment usage #9853

merged 1 commit into from
Mar 29, 2018

Conversation

klujanrosas
Copy link

@klujanrosas klujanrosas commented Mar 28, 2018

In #9528 LocaleProvider was left untouched, and it also needs to make use of the interopDefault when invoking moment.

Otherwise an error of moment.locale is not a function will be thrown.

@klujanrosas klujanrosas changed the title Fixes locale provider moment usage Fixes LocaleProvider moment usage Mar 28, 2018
@klujanrosas
Copy link
Author

@yesmeck Let me know if changes are needed.

@klujanrosas klujanrosas changed the title Fixes LocaleProvider moment usage Fixes LocaleProvider moment usage Mar 28, 2018
@codecov
Copy link

codecov bot commented Mar 28, 2018

Codecov Report

Merging #9853 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9853   +/-   ##
=======================================
  Coverage   86.33%   86.33%           
=======================================
  Files         197      197           
  Lines        4713     4713           
  Branches     1315     1315           
=======================================
  Hits         4069     4069           
  Misses        641      641           
  Partials        3        3
Impacted Files Coverage Δ
components/locale-provider/index.tsx 91.66% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d2a6c4...06a9a7f. Read the comment docs.

@yesmeck yesmeck merged commit d7b44bd into ant-design:master Mar 29, 2018
@yesmeck
Copy link
Member

yesmeck commented Mar 29, 2018

Thanks!

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.

None yet

2 participants