Skip to content

Commit e754e6d

Browse files
authored
Update CCalendarEventList.vue
Calendar: Change date format to get events
1 parent 13abf3d commit e754e6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/vue/views/ccalendarevent/CCalendarEventList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ const sessionState = reactive({
210210
showSessionDialog: false,
211211
})
212212
213-
async function getCalendarEvents({ startStr, endStr }) {
213+
async function getCalendarEvents({ start, end }) {
214214
const params = {
215-
"startDate[after]": startStr,
216-
"endDate[before]": endStr,
215+
"startDate[after]": start.toISOString(),
216+
"endDate[before]": end.toISOString(),
217217
}
218218
219219
if (course.value) {

0 commit comments

Comments
 (0)