Refactoring charts in statistics in organization.

This commit is contained in:
charlesgauthereau
2025-12-30 16:22:34 +01:00
parent 475e404fae
commit f111946592
7 changed files with 329 additions and 121 deletions
+9
View File
@@ -38,3 +38,12 @@ export function formatDateLastContact(lastContact: string | number | Date | null
: "Never connected.";
}
export function formatDayOnly(date: Date) {
return new Intl.DateTimeFormat(LOCALE, {
day: "2-digit",
month: "2-digit",
year: "numeric",
timeZone: TIMEZONE,
}).format(date);
}