Skip to content

Commit

Permalink
fix: formatage de la date pour l'export excel (#3594)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Gaucher <[email protected]>
  • Loading branch information
Pomarom and Pomarom authored Mar 11, 2024
1 parent 7d62d44 commit 3aaaff5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/common/exports.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Organisme } from "./internal/Organisme";
import { formatDateNumericDayMonthYear } from "./utils/dateUtils";
import { ExportColumn } from "./utils/exportUtils";

export const indicateursParOrganismeExportColumns = [
Expand Down Expand Up @@ -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 ?? "",
};
}

0 comments on commit 3aaaff5

Please sign in to comment.