Open feliperaul opened 6 years ago
the same question... thanks!
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 :
and then, you find a file called "index.js", open this file.
Now, it's simple, you only need to change the "en" param months by the localization you want.
Regards
It's not recommanded to edit a npm package but it's the only way I found for doing it :/
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) ?