This commit is contained in:
2026-02-16 07:59:52 +01:00
parent 1fc267faa8
commit b8b8e53f07
70 changed files with 3088 additions and 272 deletions

16
app/utils/dateFormat.js Normal file
View File

@@ -0,0 +1,16 @@
export function formatDateLong(iso) {
if (!iso) return ""
const d = new Date(iso)
const date = new Intl.DateTimeFormat("fr-FR", {
weekday: "long",
day: "numeric",
month: "long",
year: "numeric",
}).format(d)
const time = new Intl.DateTimeFormat("fr-FR", {
hour: "2-digit",
minute: "2-digit",
hour12: false,
}).format(d).replace(":", "h")
return `${date}${time}`
}