diff --git a/server/emailService.ts b/server/emailService.ts index 5d20bf5..b311a5e 100644 --- a/server/emailService.ts +++ b/server/emailService.ts @@ -66,7 +66,8 @@ export async function sendInscriptionConfirmation(params: { month: 'long', day: 'numeric', hour: '2-digit', - minute: '2-digit' + minute: '2-digit', + timeZone: 'Europe/Paris' })}
au ${date.dateFin.toLocaleDateString('fr-FR', { weekday: 'long', @@ -74,7 +75,8 @@ export async function sendInscriptionConfirmation(params: { month: 'long', day: 'numeric', hour: '2-digit', - minute: '2-digit' + minute: '2-digit', + timeZone: 'Europe/Paris' })} `)).join(''); @@ -268,7 +270,8 @@ export async function sendRappelEmail(params: { month: 'long', day: 'numeric', hour: '2-digit', - minute: '2-digit' + minute: '2-digit', + timeZone: 'Europe/Paris' })} `).join(''); @@ -409,7 +412,8 @@ export async function sendRappelJ7Email(params: { month: 'long', day: 'numeric', hour: '2-digit', - minute: '2-digit' + minute: '2-digit', + timeZone: 'Europe/Paris' })} `).join(''); @@ -518,10 +522,12 @@ export async function sendRappelJ1Email(params: { month: 'long', day: 'numeric', hour: '2-digit', - minute: '2-digit' + minute: '2-digit', + timeZone: 'Europe/Paris' })} - ${date.dateFin.toLocaleDateString('fr-FR', { hour: '2-digit', - minute: '2-digit' + minute: '2-digit', + timeZone: 'Europe/Paris' })} `).join(''); diff --git a/server/exportService.ts b/server/exportService.ts index e8a8ab6..c6889a4 100644 --- a/server/exportService.ts +++ b/server/exportService.ts @@ -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;