mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix patchAddress with date validFrom
This commit is contained in:
parent
1f8c343a89
commit
840ffe42a6
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user