搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

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.

所有回覆 (1)

more options

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).