From 76f2b6b0d66199a6ddc4aaf984bfc356796b15c1 Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 3 Apr 2023 15:03:14 +0200 Subject: [PATCH] Rimosso moment-timezone per fullcalendar --- gulpfile.js | 1 - modules/dashboard/edit.php | 1 - package.json | 1 - 3 files changed, 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 473b1e485..abaac5af8 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -100,7 +100,6 @@ const JS = gulp.parallel(() => { 'eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js', 'fullcalendar-scheduler/index.global.js', '@fullcalendar/moment/index.global.js', - '@fullcalendar/moment-timezone/index.global.js', '@fullcalendar/core/locales/it.global.js', 'geocomplete/jquery.geocomplete.js', 'inputmask/dist/min/jquery.inputmask.bundle.min.js', diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index 125675fac..0db2725bf 100755 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -525,7 +525,6 @@ globals.dashboard = { var calendar = new FullCalendar.Calendar(calendarElement, { /* locales: allLocales, */ - timeZone: "Europe/Rome", locale: globals.locale, slotEventOverlap: false, weekNumbers: true, diff --git a/package.json b/package.json index 972fc6810..12e25921d 100755 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "main": "gulpfile.js", "dependencies": { "@fullcalendar/moment": "^6.1.5", - "@fullcalendar/moment-timezone": "^5.11.4", "admin-lte": "^2.4.18", "autocompleter": "^6.1.1", "autonumeric": "^4.6.0",