[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [FIX] Calendar: prevent all-day events from displaying on an extra day

"Adrien Mbuya Maloba \(@adrienmaloba\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a85022c3a4c8_38190f508076e@gitlab-sidekiq-low-urgency-cpu-bound-v2-55d668cc69-phdg4.mail>

Adrien Mbuya Maloba pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
89a637ef by Adrien Mbuya Maloba at 2026-08-19T04:00:59+03:00
[FIX] Calendar: prevent all-day events from displaying on an extra day
---
* [FIX] Calendar: prevent all-day events from displaying on an extra day

See merge request tikiwiki/tiki!10881

- - - - -


1 changed file:

- src/js/jquery-tiki/tiki-calendar.js


Changes:

=====================================
src/js/jquery-tiki/tiki-calendar.js
=====================================
@@ -101,13 +101,6 @@ $.fn.setupFullCalendar = function (
             viewDidMount: function (data) {
                 $(calendarEl).tikiModal();
             },
-            eventDataTransform: function (event) {
-                if (event.allDay) {
-                    // show all day events as including the end date day
-                    event.end = moment(event.end).add(1, "days").format("YYYY-MM-DD HH:mm:SSZ");
-                }
-                return event;
-            },
             eventDidMount: function (arg) {
                 $(calendarEl).tikiModal();
                 const event = arg.event;



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/89a637efee83e01ec8f2b34dcf74c35adb88ceaa

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/89a637efee83e01ec8f2b34dcf74c35adb88ceaa
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.