Skip to content

Commit

Permalink
Merge branch 'hotfix/0.16.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
polosson committed Nov 4, 2021
2 parents 8e8d851 + f5da642 commit 9aeb4e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Tous les changements notables sur le projet sont documentés dans ce fichier.

Ce projet adhère au principe du [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.16.2 (2021-11-04)

- Corrige la normalisation des horaires d'assignation des techniciens.

## 0.16.1 (2021-11-03)

- Corrige l'affichage de la corbeille dans le listing du matériel.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.1
0.16.2
4 changes: 2 additions & 2 deletions client/src/pages/Event/Step3/Modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export default {
const { data: eventTechnicianId } = this.$props;
const { data } = await this.$http.get(`event-technicians/${eventTechnicianId}`);

const startDate = moment(data.start_time).toDate();
const endDate = moment(data.end_time).toDate();
const startDate = moment.utc(data.start_time).toDate();
const endDate = moment.utc(data.end_time).toDate();

this.eventId = data.event_id;
this.position = data.position;
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Event/Step3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ export default {

async handleItemMoved(item, callback) {
const data = {
start_time: moment(dateRoundMinutes(item.start)).format(DATE_DB_FORMAT),
end_time: moment(dateRoundMinutes(item.end)).format(DATE_DB_FORMAT),
start_time: moment(dateRoundMinutes(item.start)).utc().format(DATE_DB_FORMAT),
end_time: moment(dateRoundMinutes(item.end)).utc().format(DATE_DB_FORMAT),
};

try {
Expand Down

0 comments on commit 9aeb4e9

Please sign in to comment.