Datetimepicker: locale prop for android devices

Created on 8 Jan 2020  路  3Comments  路  Source: react-native-datetimepicker/datetimepicker

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

All 3 comments

Any chances for this feature?

Any chances for this feature? [2]

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wesff picture wesff  路  3Comments

sorinsi picture sorinsi  路  5Comments

StarryFire picture StarryFire  路  3Comments

RoTTex picture RoTTex  路  3Comments

nabati picture nabati  路  3Comments