I have installed a fresh installation of Umbraco 10 on my local machine. My local machine TimeZone is set to US Eastern Time.
Problem
When I select a time in a date/time picker, umbraco stores that date/time in UTC format. This is regardless of the setting in the data/time picker for offsetting time. Both settings store the same date/time.
The page updated time does the same thing. If I make a change at 8am US Eastern Time, it is storing the updated date/time as 8am GMT.
Temporary Patch
I have outputted all date time values to string, removed the z at the end and then asked .NET to convert them back into date/times and then convert to UTC.
Date Time Picker UTC Issue
Background
I have installed a fresh installation of Umbraco 10 on my local machine. My local machine TimeZone is set to US Eastern Time.
Problem
When I select a time in a date/time picker, umbraco stores that date/time in UTC format. This is regardless of the setting in the data/time picker for offsetting time. Both settings store the same date/time.
The page updated time does the same thing. If I make a change at 8am US Eastern Time, it is storing the updated date/time as 8am GMT.
Temporary Patch
I have outputted all date time values to string, removed the z at the end and then asked .NET to convert them back into date/times and then convert to UTC.
Anyone else have a better solution?
is working on a reply...