arqex / react-datetime

A lightweight but complete datetime picker react component.
2k stars 872 forks source link

RTL support: Date change #614

Open skrasnovskaya opened 5 years ago

skrasnovskaya commented 5 years ago

Need to support date change in both ltr and rtl mode. ltr (e.g. 'en') works just fine. However Datetime disables months and years in rtl locale(e.g. 'ar-sa') codepen example image

arqex commented 5 years ago

What you need is that 2019 to be also translated into arab, isn't it?

skrasnovskaya commented 5 years ago

No, numbers are OK, monthes and years are disabled, so you cann`t pick any of them

arqex commented 5 years ago

Thanks @skrasnovskaya

This should be fixed in v3.0-beta.4. This ticket will be closed when version 3 is released.