react-native-datepicker icon indicating copy to clipboard operation
react-native-datepicker copied to clipboard

Time Format 12:00 HOURS

Open singhalpk opened this issue 7 years ago • 6 comments

Hi! How can i Change the time format from 24 to 12. Thanks

singhalpk avatar Aug 30 '17 13:08 singhalpk

format={'h:mm: a'}

santoshzp avatar Dec 03 '17 12:12 santoshzp

You should use format like that, format={'HH:mm'}

yasinugrl avatar May 29 '18 10:05 yasinugrl

Similar https://github.com/xgfe/react-native-datepicker/issues/274

wzup avatar Jul 31 '18 13:07 wzup

Doesn't work on iOS

rdewolff avatar Aug 28 '18 06:08 rdewolff

This doesn't work for android either. Tried both format={'h:mm: a'} & format={'HH:mm'}, neither of them changed my time format which I want to be 12hr like instead of "22:00" it shows "10:00 PM"

Rikinp5 avatar Oct 29 '20 02:10 Rikinp5

still looking for a solution

Desintegrator avatar May 12 '22 20:05 Desintegrator