datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

locale prop for android devices

Open ArturDabrowski opened this issue 6 years ago • 4 comments

Feature Request

It would be nice to have an option to change picker language by passing a locale prop

Why it is needed

Picker has device language regardless of the app language settings

Code sample

        <DateTimePicker
          mode="date"
          value={date}
          onChange={handleDateChange}
          locale={language}
          minimumDate={minDate}
          maximumDate={maxDate}
        />

ArturDabrowski avatar Jan 08 '20 11:01 ArturDabrowski

Any chances for this feature?

alex-trofimov avatar Mar 01 '20 20:03 alex-trofimov

Any chances for this feature? [2]

alecpo avatar Apr 01 '20 19:04 alecpo

Hello, thanks for the feature request. There is currently no plan to implement this by the maintenainers, but we will accept a pull request for this feature.

vonovak avatar Apr 01 '20 19:04 vonovak

closed by https://github.com/react-native-datetimepicker/datetimepicker/pull/540 (v5 release)

vonovak avatar Dec 11 '21 14:12 vonovak