Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • E 3 posts 73 karma points
    Aug 12, 2022 @ 14:43
    E
    0

    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?

Please Sign in or register to post replies

Write your reply to:

Draft