convert to TS component eventList + context

This commit is contained in:
p2405951
2026-03-12 10:45:52 +01:00
parent 23219d1ffe
commit e259f5f93f
11 changed files with 238 additions and 105 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ export function formatDateLetter(d: string | Date | null | undefined): string {
}
export function formatDateLetterJS(d: string): string {
/*export function formatDateLetterJS(d: string): string {
const monthNames = [
"Janvier", "Février", "Mars", "Avril", "Mai", "Juin",
"Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"
@@ -61,5 +61,5 @@ export function formatDateLetterJS(d: string): string {
if (!year || !month || !day) return "Date invalide";
return `${day} ${monthNames[parseInt(month, 10) - 1]} ${year}`;
}
}*/