DatePicker: fix date input format

pull/7189/head
Leopoldthecoder 2017-09-23 14:36:00 +08:00 committed by 杨奕
parent 5d43a7cae5
commit ffe6b8933c
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@
dateFormat() {
if (this.format) {
return this.format.replace('HH:mm', '').replace(':ss', '').trim();
return this.format.replace('HH', '').replace(':mm', '').replace(':ss', '').trim();
} else {
return 'yyyy-MM-dd';
}