fix patchAddress with date validFrom

This commit is contained in:
Mathieu Jaumotte 2021-08-08 22:27:39 +02:00
parent 1f8c343a89
commit 840ffe42a6
2 changed files with 1 additions and 3 deletions

View File

@ -508,7 +508,7 @@ export default {
addressId: this.entity.address.address_id,
body: {
validFrom: {
datetime: this.valid.from.toISOString().split('T')[0]
datetime: `${this.valid.from.toISOString().split('T')[0]}T00:00:00+0100`
}
},
backUrl: this.context.backUrl

View File

@ -134,8 +134,6 @@ export default {
validFrom: {
set(value) {
this.valid.from = ISOToDate(value);
//new Date().toISOString().split('T')[0];
},
get() {
return dateToISO(this.valid.from);