finish mapadoEvent session display in front
This commit is contained in:
parent
c98d5eb36b
commit
ccd35c2b92
9 changed files with 82 additions and 41 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue