From 60129a578bfb06447e31edebb239bc4d1ed885cd Mon Sep 17 00:00:00 2001 From: Carolina Capetillo Date: Mon, 18 Nov 2024 13:19:24 -0800 Subject: [PATCH 1/3] fixes calendar bug --- src/components/Scheduling/Calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Scheduling/Calendar.vue b/src/components/Scheduling/Calendar.vue index eac8b77..ca5f3b9 100644 --- a/src/components/Scheduling/Calendar.vue +++ b/src/components/Scheduling/Calendar.vue @@ -25,7 +25,7 @@ onMounted(async () => { mode="date" is-range :min-date="today" - :max-date="new Date(currentSemesterEnd)" + :max-date="currentSemesterEnd" placeholder="Select Dates" is-required /> From e9b94b6541c1af6a1ccb964c8ff4b32e9a9881ef Mon Sep 17 00:00:00 2001 From: Edward Gomez Date: Tue, 19 Nov 2024 08:27:47 +0000 Subject: [PATCH 2/3] Workaround and parsing isoformat --- src/components/Scheduling/Calendar.vue | 10 +++++++--- src/utils/calendarUtils.js | 8 +++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/Scheduling/Calendar.vue b/src/components/Scheduling/Calendar.vue index ca5f3b9..cdde2d9 100644 --- a/src/components/Scheduling/Calendar.vue +++ b/src/components/Scheduling/Calendar.vue @@ -1,6 +1,6 @@