TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why has Firefox still no support for the html 5 date element?

4 点作者 steven_braham将近 8 年前
Just curious, because Chrome has it since 2012 and even Microsoft Edge supports the new date input.<p>Firefox however is the only major browser that does not support the date input type. The only reason that I load a date picker plugin nowadays is for Firefox compatibility (in my country, nearly nobody uses Opera or Safari).

3 条评论

steanne将近 8 年前
<a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTML&#x2F;Element&#x2F;input&#x2F;date#Browser_compatibility" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTML&#x2F;Element&#x2F;in...</a>
limeblack将近 8 年前
There are potyfills for this for example here <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;date-input-polyfill" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;date-input-polyfill</a><p>Not sure why Firefox doesn&#x27;t support it.
jfoster将近 8 年前
Interesting question. It&#x27;s something that is extremely common, and doesn&#x27;t seem too difficult to implement.