Commit ffe6b893 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

DatePicker: fix date input format

parent 5d43a7ca
...@@ -449,7 +449,7 @@ ...@@ -449,7 +449,7 @@
dateFormat() { dateFormat() {
if (this.format) { if (this.format) {
return this.format.replace('HH:mm', '').replace(':ss', '').trim(); return this.format.replace('HH', '').replace(':mm', '').replace(':ss', '').trim();
} else { } else {
return 'yyyy-MM-dd'; return 'yyyy-MM-dd';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment