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

How to chage time to 24 format in window with choise time?

Open KirillYoYo opened this issue 9 years ago • 2 comments

Change to 24h format here: 12344

KirillYoYo avatar Nov 13 '17 06:11 KirillYoYo

This is assuming you have a property set up that sets when the user wants 12 hour versus 24 hour formats. <DatePicker timeFormat={this.props.timeformat === '24' ? 'HH:mm' : 'hh:mm a'} </

kblodget avatar Dec 14 '17 18:12 kblodget

Hi,

Is this possible have 24 hour time format in input time in react date picker? So instead of AM PM, user can enter 24 hour time in the input box.

https://reactdatepicker.com/#example-input-time

Kindly help if anyone knows how can this be made to work.

Best regards, Manmath

Manmathkulkarni avatar Oct 17 '19 11:10 Manmathkulkarni