From 392d8a3cb5684146a7ea6100f0d02f9d3f376f8f Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 11 May 2022 15:52:32 +0200 Subject: [PATCH] nothing Signed-off-by: Julien Veyssier --- src/BillForm.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BillForm.vue b/src/BillForm.vue index f6ca9ae1d..df3d96001 100644 --- a/src/BillForm.vue +++ b/src/BillForm.vue @@ -1056,6 +1056,7 @@ export default { : moment(date).locale(this.locale).format('LL') }, parse(value) { + // in case we detect another format if (value.match(/^\d\d.\d\d.\d\d\d\d$/)) { return moment(value, 'DD.MM.YYYY').toDate() } else if (value.match(/^\d\d\/\d\d\/\d\d\d\d$/)) {