Reactstrap: 24 hours time format for "time" type Input

Created on 26 Apr 2017  路  1Comment  路  Source: reactstrap/reactstrap

is it possible to have 24 hours (military) time formate for "time" type Input?

datetime type Input is not working

Most helpful comment

It is up to the browser to determine the UI which is displayed within the input. reactstrap adds the bootstrap classes, bootstrap styles the input [container]. Different browsers will display different UIs.
more information: http://stackoverflow.com/questions/13523060/html5-time-inputs-shows-12-hours

As for datetime, it didn't make the cut for HTML5, try datetime-local instead: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime

>All comments

It is up to the browser to determine the UI which is displayed within the input. reactstrap adds the bootstrap classes, bootstrap styles the input [container]. Different browsers will display different UIs.
more information: http://stackoverflow.com/questions/13523060/html5-time-inputs-shows-12-hours

As for datetime, it didn't make the cut for HTML5, try datetime-local instead: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime

Was this page helpful?
0 / 5 - 0 ratings

Related issues

changLiuUNSW picture changLiuUNSW  路  18Comments

eddywashere picture eddywashere  路  25Comments

juan-carlos-correa picture juan-carlos-correa  路  17Comments

thetric picture thetric  路  25Comments

HD-CMS picture HD-CMS  路  19Comments