datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

RTL support

Open xyn22 opened this issue 2 years ago • 0 comments

Feature request

Why it is needed

Although locale support is great, it should be able to display in right-to-left. For example if format is "day month year" the year should be on the far left and day on the far right.

Possible implementation

  1. A boolean prop would do.
  2. We can have another option for dateFormat prop so it accepts year month day
  3. A better implementation is to check if RTL is enabled through I18nManager.isRTL. I18nManager is a core react-native module.

xyn22 avatar Jul 14 '23 03:07 xyn22