From 7e4b067e547b74160cb368c38c82f56eb4d1c8e0 Mon Sep 17 00:00:00 2001 From: Nathan FONTEYNE Date: Wed, 8 Jul 2026 16:34:21 +0200 Subject: [PATCH] fix: calendar display nothing --- src/repositories/calendarRepo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repositories/calendarRepo.js b/src/repositories/calendarRepo.js index 5603618..aa33623 100644 --- a/src/repositories/calendarRepo.js +++ b/src/repositories/calendarRepo.js @@ -123,7 +123,7 @@ async function getSlots({ minPeople = 0, personIds = null, weeks = 3 } = {}) { const { rows } = await pool.query( `SELECT - ts.id, ts.lower, ts.upper, ts.slot_date, ts.day_of_week, + ts.id, ts.lower, ts.upper, to_char(ts.slot_date, 'YYYY-MM-DD') AS slot_date, ts.day_of_week, filtered.available_count, filtered.total_in_filter, ( SELECT json_agg(