finish mapadoEvent session display in front

This commit is contained in:
isUnknown 2024-08-28 10:34:08 +02:00
parent c98d5eb36b
commit ccd35c2b92
9 changed files with 82 additions and 41 deletions

View file

@ -171,5 +171,11 @@ async function updateMapadoEvent(pageUri) {
const response = await fetch("/update-mapado-event.json", requestOptions);
const json = await response.json();
console.log("Séance récupérées de Mapado", json);
return json;
}
function dateToFrench(date) {
date = dayjs(date);
return date.format("D MMMM YYYY");
}