Skip to content

Commit 7879400

Browse files
Add return format
1 parent 401455c commit 7879400

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/FormDatePicker.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export default {
153153
// If forceDateTime is true and no time pattern exists, ensure the format includes hh:mm A
154154
format = `${format.replace(/[\sHh:msaAzZ]/g, '')} hh:mm A`;
155155
}
156+
return format;
156157
}
157158
return getUserDateFormat();
158159
},

0 commit comments

Comments
 (0)