Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Add support for i18n #84

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

quantumman
Copy link

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

@chollier
Copy link
Member

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

@bekerov
Copy link

bekerov commented Sep 16, 2015

@chollier how about merge ?

@iam4x
Copy link

iam4x commented Oct 7, 2015

bump! :)

@iam4x
Copy link

iam4x commented Oct 8, 2015

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

@ingro
Copy link

ingro commented Nov 5, 2015

Would love to see this merged!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants