有什么办法可以更改输入类型=“日期”格式?

我是研究僧i 提交于 2020-08-14 05:03:52

问题:

I'm working with HTML5 elements on my webpage. 我正在使用网页上的HTML5元素。 By default input type="date" shows date as YYYY-MM-DD . 默认情况下,输入type="date"显示为YYYY-MM-DD

The question is, is it possible to change its format to something like: DD-MM-YYYY ? 问题是,是否可以将其格式更改为: DD-MM-YYYY


解决方案:

参考一: https://stackoom.com/question/Uvnq/有什么办法可以更改输入类型-日期-格式
参考二: https://oldbug.net/q/Uvnq/Is-there-any-way-to-change-input-type-date-format
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!