react-datepicker
react-datepicker copied to clipboard
How to chage time to 24 format in window with choise time?
Change to 24h format here:

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