react-bootstrap-datetimepicker icon indicating copy to clipboard operation
react-bootstrap-datetimepicker copied to clipboard

Add support for i18n

Open quantumman opened this issue 9 years ago • 5 comments

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" />

quantumman avatar Aug 18 '15 17:08 quantumman

wow love that ! Thanks quantumman I'll review that today and merge it asap

chollier avatar Aug 19 '15 18:08 chollier

@chollier how about merge ?

bekerov avatar Sep 16 '15 14:09 bekerov

bump! :)

iam4x avatar Oct 07 '15 21:10 iam4x

until it gets merged: $ npm i -S iam4x/react-bootstrap-datetimepicker#master

iam4x avatar Oct 08 '15 20:10 iam4x

Would love to see this merged!

ingro avatar Nov 05 '15 17:11 ingro