UI setting for date(time) mode preference (Local/UTC)

Hi Sebastian,

I’ve read the corresponding request here that the setting was defaulted to Local: https://support.squidex.io/t/implemented-can-the-datetime-selector-default-using-local-time

I’m not sure if something has changed since the last few releases, but my customers are complaining that the date/time is off by the differences according to their respective timezone they’re in. Looking at the editor when using Date or especially DateTime, each time when setting something and having Local (= default) active, it immediately seems to translate back to UTC in the background, thus the entry in the date(time) field changes on blur and feels buggy for the user.

Example: Timezone user: Europe/Berline (GMT+02:00) → entering 09:15 with Local active, leaving the field, input value changes to 11:15 (adjusting +02:00 for UTC).

And this also gets confirmed when saving the entry, because on reload the value is still 11:15, so the system saves it in UTC (what makes sense), but this is confusing for users not being aware of timezones (and don’t want to deal with it).

So I don’t know if this is intended behavior, if it is, it would be great to have an option (similar to whether or not the buttons are shown with hideDateTimeModeButton setting) to choose which mode is selected. In this case I’d always opt for UTC because it then feels natural as the value stays the same on blur and after it has been saved.

Thanks for your thoughts on it!

I have fallen back to the browser controls and got rid of the extra dependency. Perhaps I have fucked up something.

Ah, I see, I couldn’t really remember if the UI was native before the upgrade or not or what exactly has changed, but I always has hidden the mode button and it just worked fine for my users, as I simply display their input also on the output channels in UTC.

Would be nice if there’s some kind of bugfix in the near future, downgrading is likely not possible due to the changed format for rules I guess? Thanks Sebastian!