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

does it support picker format like 'YYYY-MM-DD HH:mm' #282

Closed
chj-damon opened this issue Sep 18, 2020 · 4 comments
Closed

does it support picker format like 'YYYY-MM-DD HH:mm' #282

chj-damon opened this issue Sep 18, 2020 · 4 comments

Comments

@chj-damon
Copy link

Question

currently, mode='datetime' means it will display month-day-AM/PM-hour-minute, how can I make the picker like year-month-day-hour-minute

@chobits4
Copy link

mode="datetime" and locale="zh_CN"

@chj-damon
Copy link
Author

@chobits4 not the exactly format as I expected.

@EneRgYCZ
Copy link

In my case I used .toLocaleDateString() but you cand use .toUTSCString() or .toISOString() depending on your use case.

@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

4 participants