Calendar event drop/move event time does not match local time

Wappler Version : 3.3.5
Operating System : Windows 10

Expected behavior

What do you think should happen?

Working in the calendar Event Drop/Move Dynamic Event, I have an event starts at 10 am EST. The calendar Timezone is Local and the Locale is Auto.

Moving back the event one hour, updating the database record with the new Start and End time and reloading the calendar I would expect the event to have a start time of 11 am EST.

Actual behavior

What actually happens?

When I move back my event 1 hour. The time saved in the database is 16:00, not 11 am EST. It seems the Event start/end time are UTC, not local.

How to reproduce

Create a calendar with dynamic events. Set the Timezone to Local and Locale to Auto.
Create a dynamic event on Event Drop/Move to update the record with the Event Start/End time

Create an event that starts at 10 am local and move the event one hour. Depending on your timezone, you will notice after the event is updated that the updated start/end time do not reflect your calendar.

Video: https://share.smartlighthouse.com/4guJmZY4

dmx-on:eventdrop=“encounter_update.load({encounter_id: $event.event.id, start: $event.event.start, end: $event.event.end})”

Community Page
Last updated: