Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale #388

Closed
ksielyov opened this issue Jan 26, 2021 · 7 comments
Closed

Locale #388

ksielyov opened this issue Jan 26, 2021 · 7 comments

Comments

@ksielyov
Copy link

Hello!

I write locale='ru'

It doen`t work

@vonovak
Copy link
Member

vonovak commented Jan 26, 2021

hello, please try ru-RU

@ksielyov
Copy link
Author

ru-RU

Hello. It doesn`t work.

@ksielyov
Copy link
Author

This is my code:
<DateTimePicker testID="dateTimePicker" value={date} mode={"countdown"} is24Hour={true} display="default" locale={'ru-RU'} onChange={onChange} style={{ backgroundColor: "#fff" }} />

@Gitarcitano
Copy link

This is my code:
<DateTimePicker testID="dateTimePicker" value={date} mode={"countdown"} is24Hour={true} display="default" locale={'ru-RU'} onChange={onChange} style={{ backgroundColor: "#fff" }} />

Try this:

<DateTimePicker 
  testID="dateTimePicker"
  value={date}
  mode={"countdown"}
  is24Hour={true}
  display="default"
  locale="ru-RU"
  onChange={onChange}
  style={{ backgroundColor: "#fff" }}
/>

@MatBdry
Copy link

MatBdry commented Apr 6, 2021

Hi,

I got the same issue on my Emulator, where the default language was... English. I changed it to French and now it's working ;)

I hope it helps

@alenseferovic1
Copy link

Locale doesn't work on the android. Any suggestions here?

@vonovak vonovak mentioned this issue Dec 11, 2021
5 tasks
@vonovak
Copy link
Member

vonovak commented Dec 11, 2021

closed by #540 (v5 release)

@vonovak vonovak closed this as completed Dec 11, 2021
@react-native-datetimepicker react-native-datetimepicker locked and limited conversation to collaborators Dec 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants