diff --git a/webapp/src/app/shared/utils/formatters.ts b/webapp/src/app/shared/utils/formatters.ts new file mode 100644 index 00000000..58cc03bc --- /dev/null +++ b/webapp/src/app/shared/utils/formatters.ts @@ -0,0 +1,9 @@ +export function formatGermanDate(dateString: string): string { + if (!dateString) return ''; + + return new Intl.DateTimeFormat('de-DE', { + day: 'numeric', + month: 'long', + year: 'numeric', + }).format(new Date(dateString)); +}