X
Tap here to go to the mobile version of the site.

Support Forum

Want input element with type time to display time in hh:mm a format , how to do it ?

Posted

I am using input type time in html5 page with angularjs. Firefox is displaying time in hh:mm:ss:sss a format, but I want hh:mm a format. Chrome is showing it write.

I am using input type time in html5 page with angularjs. Firefox is displaying time in hh:mm:ss:sss a format, but I want hh:mm a format. Chrome is showing it write.

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17764 solutions 160655 answers

Is there accidentally a time input field used because if you use a specific library then it might fallback to a standard input field?

Firefox use for me an input element with three field like the docs describe (12h, min, AM/PM).

Is there accidentally a time input field used because if you use a specific library then it might fallback to a standard input field? Firefox use for me an input element with three field like the docs describe (12h, min, AM/PM). *https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time