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}` }