From 400c6b3244ae3ec61755d36993ab20c780b7272d Mon Sep 17 00:00:00 2001 From: Jan Cortiel Date: Mon, 2 Dec 2024 14:10:47 +0100 Subject: [PATCH] #541, #555: Refactor imports and optimize date computations Switches from require to import statements for consistency and modern syntax in both JavaScript and Vue files. Introduces computed properties for minDate and maxDate to improve date handling and ensure accurate time settings for scheduled events. This enhances code readability and maintains better date boundaries within the scheduler component. --- src/components/shared/Scheduler.vue | 30 +++++++++++++++++++++-------- tailwind.config.js | 8 ++++---- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/components/shared/Scheduler.vue b/src/components/shared/Scheduler.vue index ab05926..6feecad 100644 --- a/src/components/shared/Scheduler.vue +++ b/src/components/shared/Scheduler.vue @@ -4,7 +4,7 @@ Prevention -- A research institute of the Ludwig Boltzmann Gesellschaft, Oesterreichische Vereinigung zur Foerderung der wissenschaftlichen Forschung). Licensed under the Elastic License 2.0. */