feat(frontend): scaffold i18n init, fr.json (~140 keys), status map, format helpers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Knacky
2026-06-21 23:21:02 +02:00
parent 51fb2e4f95
commit 3723bd009b
6 changed files with 553 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
export const formatDate = (iso: string | null | undefined): string => {
if (!iso) return '—';
return new Date(iso).toLocaleDateString('fr-FR');
};
export const formatDateTime = (iso: string): string =>
new Date(iso).toLocaleString('fr-FR');