From 3aaaff5af3f9db2ba4704d2b037c4343cadc5a32 Mon Sep 17 00:00:00 2001 From: Paul G Date: Mon, 11 Mar 2024 18:25:42 +0100 Subject: [PATCH] fix: formatage de la date pour l'export excel (#3594) Co-authored-by: Paul Gaucher --- ui/common/exports.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/common/exports.ts b/ui/common/exports.ts index 22a36cfc7..f059cca0f 100644 --- a/ui/common/exports.ts +++ b/ui/common/exports.ts @@ -1,5 +1,4 @@ import { Organisme } from "./internal/Organisme"; -import { formatDateNumericDayMonthYear } from "./utils/dateUtils"; import { ExportColumn } from "./utils/exportUtils"; export const indicateursParOrganismeExportColumns = [ @@ -214,8 +213,6 @@ export function convertOrganismeToExport( departement: organisme.adresse?.departement ?? "", commune: organisme.adresse?.commune ?? "", adresse: organisme.adresse?.complete ?? "", - last_transmission_date: organisme.last_transmission_date - ? formatDateNumericDayMonthYear(organisme.last_transmission_date) - : "", + last_transmission_date: organisme.last_transmission_date ?? "", }; }