mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
fix: calendar bug
This commit is contained in:
parent
884d8009ac
commit
d296494d0e
1 changed files with 4 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ async function syncAvailability() {
|
|||
}
|
||||
const existing = intervalsByUser.get(feed.user_id) || [];
|
||||
intervalsByUser.set(feed.user_id, existing.concat(result.value));
|
||||
console.log(
|
||||
`[calendar] feed id=${feed.id} (user id=${feed.user_id}): ${result.value.length} busy interval(s) — ` +
|
||||
result.value.slice(0, 30).map((iv) => `${iv.start.toISOString()}->${iv.end.toISOString()}`).join(', ')
|
||||
);
|
||||
});
|
||||
|
||||
const slots = generateSlots(3, slotConfig);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue