Skip to content

Commit

Permalink
Merge pull request #35 from gelic-idealab/dev
Browse files Browse the repository at this point in the history
fixed issue: edit time in lab
  • Loading branch information
parseccentric authored Aug 3, 2021
2 parents ba7f526 + 84c107f commit 5bea5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/LabCreate/LabCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ export default {
courseId: this.courseId,
title: this.title,
description: this.description,
startTime: moment(this.date + " " + this.startTime).utc().format(),
endTime: moment(this.date + " " + this.endTime).utc().format(),
startTime: moment.utc(this.date + " " + this.startTime).local(),
endTime: moment.utc(this.date + " " + this.endTime).local(),
assetList: this.selectedAssetList.map(asset => asset.assetId),
build: this.buildScope + '/' + this.build
})
Expand Down

0 comments on commit 5bea5c4

Please sign in to comment.