Skip to content

Commit

Permalink
new calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzapanther committed Nov 20, 2023
1 parent 3f6ce6f commit 99bb66e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cal.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ const calendar = new Calendar(calendarEl, {
dayGridPlugin,
listPlugin
],
initialView: 'listMonth',
initialView: 'listWeek',
events: {
url: '/basic.ics',
format: 'ics' // important!
},
headerToolbar: {
left: 'prev,next today',
center: 'title',
right: 'listYear,dayGridMonth'
right: 'listWeek,dayGridMonth'
}
});

Expand Down

0 comments on commit 99bb66e

Please sign in to comment.