Import Calendar Events

This commit is contained in:
Bruno Bernardino
2024-03-29 15:51:45 +00:00
parent a788456751
commit 0b4b741d79
7 changed files with 266 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ export default function CalendarViewWeek(
const today = new Date().toISOString().substring(0, 10);
const hourFormat = new Intl.DateTimeFormat('en-GB', { hour12: false, hour: '2-digit', minute: '2-digit' });
const weekDayFormat = new Intl.DateTimeFormat('en-GB', { weekday: 'short' });
const weekDayFormat = new Intl.DateTimeFormat('en-GB', { weekday: 'short', day: 'numeric', month: '2-digit' });
const days = getDaysForWeek(new Date(startDate));