Rename the site to CorralitoComing and switch the UI to English

The name and tagline live in one place, shared/utils/site.ts, and feed the
header, the footer, the home page and the title template.
This commit is contained in:
2026-08-25 12:08:01 +02:00
parent d97fd3f92f
commit 005c90f33a
9 changed files with 55 additions and 50 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/** Human-readable date for display; returns an empty string when unset. */
export function formatDate(value: string | null | undefined): string {
if (!value) return ''
return new Intl.DateTimeFormat('it-IT', { dateStyle: 'long' }).format(new Date(value))
return new Intl.DateTimeFormat('en-GB', { dateStyle: 'long' }).format(new Date(value))
}
/** Machine-readable date for the `datetime` attribute and structured data. */