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

How to set locale in datebox (ex: ja-JP) #20

Closed
paulo3262 opened this issue Mar 9, 2018 · 1 comment
Closed

How to set locale in datebox (ex: ja-JP) #20

paulo3262 opened this issue Mar 9, 2018 · 1 comment
Assignees
Labels

Comments

@paulo3262
Copy link

need to change the location of the date box, is in English, how to change this setting

captura de tela de 2018-03-09 11-03-12

@kuhnroyal
Copy link
Owner

If you use moment you also need to add the moment locales that you need.
In angular-cli all locales are pulled in by default. If you use webpack or something else you might need to import them yourself.

moment/moment#2416
moment/moment#2608 (comment)

Something like this might work

import 'moment/locale/ja';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants