搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

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