Fish UI localization - config locale for moment.js
Deprime opened this issue · 8 comments
Is there any way to set default config for moment.js like moment.locale('fr'); ?
?
I'm using Fish UI in my project and often use Datepicker component. So by default it has english language. But my project for Russian users.
In Readme.md I find it out, that Fish UI using Moment.js for date-time objects.
So my question is: how can i configurate Datepicker component to localize it in russian language?
not support localization, but you can git clone and modify https://github.com/myliang/fish-ui/blob/master/src/config.js
Ok. Thanks for the guidance
feedback if there is any problem
Week and month attributes for Datepicker is good decision, but, for example, I need to set the first day of the week - Monday. This is the last trouble for me now )) So it seems that I will still need to change the calendar configuration file.