convert loginComponent to TS

This commit is contained in:
p2405951
2026-03-12 11:13:39 +01:00
parent e259f5f93f
commit 4c7b636f27
4 changed files with 69 additions and 56 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 formatDateLetter(d: string | Date | null | undefined): string {
if (!year || !month || !day) return "Date invalide";
return `${day} ${monthNames[parseInt(month, 10) - 1]} ${year}`;
}*/
}