Saved appointment time changes after reopening the form


Topic: Saved appointment time changes after reopening the form

Alice Novak asked 3 weeks ago

An appointment looks correct before submission. Reopening its edit form shows a different time after parsing the stored value.

How should display formatting and storage conversion be separated?


Igor Przybysz staff pro premium priority answered 3 weeks ago

Trace one appointment through all four steps: picker display, outgoing payload, stored database value, and value returned for editing. Check whether an offset is missing or applied twice, and whether the server interprets an unzoned value in a different time zone from the browser. Formatting should change the presentation, rather than silently reinterpret the stored instant.

Please provide those four values, the expected local appointment time, both time zones, and the serialization/parsing functions. Also say whether the appointment represents a fixed instant or a recurring local time. That distinction determines how it should be stored and restored, especially across daylight-saving changes.

https://mdbootstrap.com/docs/standard/forms/datetimepicker/


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 9.3.0
  • Device: Laptop
  • Browser: Edge
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No