We are having problems related to date timezone offsets. To properly debug, I need to understand what is supposed to be stored in the database. It is currently storing the start and end date in local time, the name of the timezone, and an offset for both start and end. The problem comes because it is applying the offset to the date even though it is already in the local time. If I manually change the offset to zero, it displays correctly, but if I save the node, the offset comes back.

Is it supposed to store the value as UTC plus a non-zero offset? Should it be local time with a zero offset?

Comments

Liam Morland created an issue. See original summary.

Liam Morland’s picture

Title: How are date supposed to be stored? » How are dates supposed to be stored?
Issue summary: View changes