This is my first time using the datepicker, so i’m not sure if i set something up wrong, but here is what i have.
I am using the scheduler calendar object (with the datepicker for popup windows), and when i add luxon timezone to both the Scheduler and the Datepicker, the datepicker seems to show an incorrect date/time the first time a popup is displayed. This only occurs once per reload of the page and only on the first time a popup is shown. After this first popup, the datepicker acts normally and shows correct values.
The value shown seems to show up as 4PM or 5PM of the previous date. Even if the event is a range, the datepicker shows only a single value (not a range).
See here, the popup is showing incorrect values for the event I chose.
use the example code here to get the scheduler and datepicker
Add luxon timezone to both the scheduler and datepicker (all code changes from the example code are highlighted in yellow.
Load the page and click one of the existing events on the calendar (look int the code to know where the events are). The popup will show incorrect values. If you close the popup, and click the event again, everything will be correct. It is ONLY that first popup that shows incorrect values.
Reload page, and the first event you click (either an existing event, or if you drag to create a new event) the popup will show incorrect values. When it is displaying the event with incorrect date/time, if you click the “save”/“add” button in that popup, it will save the event with that displayed (incorrect) value.
Note: I did try adding “luxonTimezone.version = 3;” just to see if that changed/helped as it seemed to help something else for an older version, but it did not fix or change the outcomes of the activities above.