0

I am working on an asp.net web application. I have published it using VS 2015 and deployed it under IIS6.1. The website is hosted in a server which system time format is 24 hours. when I start the website from IIS on a browser on the server, each time I change the time format (from 24 to 12), the input time picker input box displayed on the web page follows the system format.

<input type="time" id="ToTime" class="form-control">

However when I open the website on a chrome browser on another machine (which system time format is 24 hours as well), the time picker would always display 12 hours format.

I am not talking about the returned value from the timepicker which is always in 24 hours format, but rather about how the input time picker is displayed on the browser. I'm suspecting that the IIS overrides the system format but I can't find out how and where it might be doing so??

Claritta
  • 189
  • 1
  • 4
  • 17
  • 1
    You might want to take a look at this: http://stackoverflow.com/questions/13523060/html5-time-inputs-shows-12-hours – j.f. Mar 28 '17 at 13:24
  • 1
    Possible duplicate of [html5 time inputs shows 12 hours](http://stackoverflow.com/questions/13523060/html5-time-inputs-shows-12-hours) – VDWWD Mar 28 '17 at 15:49
  • I have seen that thread but it is not the same problem, my problem occurs when I host the website on IIS. I have edited my question, please take a look at it. – Claritta Mar 29 '17 at 12:01

0 Answers0