Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
Julien Veyssier committed May 11, 2022
1 parent be2ebe7 commit 392d8a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BillForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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$/)) {
Expand Down

0 comments on commit 392d8a3

Please sign in to comment.