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

Localization of month names #13

Open
feliperaul opened this issue Mar 26, 2018 · 3 comments
Open

Localization of month names #13

feliperaul opened this issue Mar 26, 2018 · 3 comments

Comments

@feliperaul
Copy link

As far as I could gather from the source code, the month names (i18n) are hardcoded? So no way of passing a customI18n props that has month names other then the supported languages (en / zh / jp) ?

@danielzzz
Copy link

the same question... thanks!

@ryolay
Copy link

ryolay commented Oct 26, 2019

I found the solution for changing month names,

The only thing you need to do is to go on the directory where the package is located. Like this :

Capture

and then, you find a file called "index.js", open this file.

Capture

Now, it's simple, you only need to change the "en" param months by the localization you want.

Regards

@ryolay
Copy link

ryolay commented Oct 26, 2019

It's not recommanded to edit a npm package but it's the only way I found for doing it :/

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

No branches or pull requests

3 participants