This commit is contained in:
2021-09-17 22:30:52 +00:00
parent 3d7626f1e9
commit 346b27ac1d
2 changed files with 36 additions and 4 deletions

View File

@@ -392,13 +392,25 @@ export default {
if (this.dragEvent) {
param.type = this.dragEvent.type;
param.id = this.dragEvent.id;
(param.start = this.dragEvent.start),
(param.end = this.dragEvent.end);
param.start = window.$gz.locale.localScheduleFormatToUTC8601String(
this.dragEvent.start,
this.timeZoneName
);
param.end = window.$gz.locale.localScheduleFormatToUTC8601String(
this.dragEvent.end,
this.timeZoneName
);
} else {
param.type = this.extendEvent.type;
param.id = this.extendEvent.id;
(param.start = this.extendEvent.start),
(param.end = this.extendEvent.end);
param.start = window.$gz.locale.localScheduleFormatToUTC8601String(
this.extendEvent.start,
this.timeZoneName
);
param.end = window.$gz.locale.localScheduleFormatToUTC8601String(
this.extendEvent.end,
this.timeZoneName
);
}
//post it