react-bootstrap-datetimepicker
react-bootstrap-datetimepicker copied to clipboard
Add support for i18n
Weekdays are hardcoded. In addition, even Moment.js supports i18n, this lib does not allow to change locale of Moment.js. I modified code and added props to support other languages.
calendarFormat
is a format for switch button in the top of calendar.
This props is also needed, because every countries do not use default format like 'August 2015'.
<DateTimeField locale="ja" calendarFormat="YYYY年 MM" />
wow love that ! Thanks quantumman I'll review that today and merge it asap
@chollier how about merge ?
bump! :)
until it gets merged: $ npm i -S iam4x/react-bootstrap-datetimepicker#master
Would love to see this merged!