问题
解决chrome浏览器的input[type=date]的格式,在chrome和edg中情况基本类似,edg甚至更差,解决办法:修改type为text,使用第三方日期选择器
参考:
<link rel="stylesheet" href='datetimepicker/jquery.datetimepicker.css'>
<script type="text/javascript" src='datetimepicker/jquery.datetimepicker.full.js"></script>
<script>
$("#id_date").datetimepicker({timepicker:false,format: "Y-m-d",});
</script>
标签:浏览器,chrome,input,date,格式,type
From: https://www.cnblogs.com/lisicn/p/17345430.html