1
0
forked from ScoDoc/ScoDoc

Assiduites : fast justify plus court que assi fix #716

This commit is contained in:
iziram 2023-09-11 08:34:56 +02:00
parent 864a5a9405
commit 6a5c594e68

View File

@ -1559,12 +1559,8 @@ function fastJustify(assiduite) {
//créer justificatif
const justif = {
date_debut: new moment.tz(assiduite.date_debut, TIMEZONE)
.add(1, "s")
.format(),
date_fin: new moment.tz(assiduite.date_fin, TIMEZONE)
.subtract(1, "s")
.format(),
date_debut: new moment.tz(assiduite.date_debut, TIMEZONE).format(),
date_fin: new moment.tz(assiduite.date_fin, TIMEZONE).format(),
raison: raison,
etat: etat,
};