We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401455c commit f4b84c9Copy full SHA for f4b84c9
src/components/FormDatePicker.vue
@@ -151,7 +151,7 @@ export default {
151
const hasTimePattern = /[Hh]{1,2}:[mM]{1,2}/.test(format);
152
if (!hasTimePattern) {
153
// If forceDateTime is true and no time pattern exists, ensure the format includes hh:mm A
154
- format = `${format.replace(/[\sHh:msaAzZ]/g, '')} hh:mm A`;
+ return `${format.replace(/[\sHh:msaAzZ]/g, '')} hh:mm A`;
155
}
156
157
return getUserDateFormat();
0 commit comments