Checkpoint: Fix: ajout timeZone Europe/Paris dans tous les toLocaleDateString avec heure dans emailService.ts et exportService.ts — corrige l'affichage 7h00 au lieu de 9h00 dans les mails de rappel
This commit is contained in:
@@ -94,7 +94,8 @@ export function generateExcelExport(sequenceInfo: SequenceInfo): Buffer {
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
minute: '2-digit',
|
||||
timeZone: 'Europe/Paris'
|
||||
})
|
||||
});
|
||||
});
|
||||
@@ -137,7 +138,8 @@ export function generatePDFExport(sequenceInfo: SequenceInfo): Buffer {
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
minute: '2-digit',
|
||||
timeZone: 'Europe/Paris'
|
||||
})}`, 14, yPos);
|
||||
yPos += 5;
|
||||
});
|
||||
@@ -474,7 +476,8 @@ export function generateFeuillePresence(feuilleInfo: FeuillePresenceInfo): Buffe
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
minute: '2-digit',
|
||||
timeZone: 'Europe/Paris'
|
||||
})}`, 14, yPos);
|
||||
doc.setFont('helvetica', 'normal');
|
||||
yPos += 10;
|
||||
|
||||
Reference in New Issue
Block a user