summaryrefslogtreecommitdiff
path: root/src/views/Settings/DateTime/DateTime.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Settings/DateTime/DateTime.vue')
-rw-r--r--src/views/Settings/DateTime/DateTime.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Settings/DateTime/DateTime.vue b/src/views/Settings/DateTime/DateTime.vue
index 4475a55e2..b723530b2 100644
--- a/src/views/Settings/DateTime/DateTime.vue
+++ b/src/views/Settings/DateTime/DateTime.vue
@@ -213,7 +213,7 @@ import { requiredIf } from '@vuelidate/validators';
import { helpers } from 'vuelidate/lib/validators';
import { useI18n } from 'vue-i18n';
-const isoDateRegex = /([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))/;
+const isoDateRegex = /([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$)/;
const isoTimeRegex = /^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/;
export default {