Detect timezone automatically
-
@ccfu Just checked it, for some reason it's set to UTC0. Cloudron had it set to Los Angeles which is different to UTC0. So both was incorrect. I've set it to Europe/Berlin manually now. Looks like changing it in Cloudron doesn't change it on OS level, right?
-
@girish Does that mean it takes the timezone from the browser and it doesn't matter what is stored in the user profile field or is the information in the user profile field taken from my browser? L. A. is actually wrong, no clue why this was set (no VPN, wrong IP geolocation or other stuff involved).
-
@warg There is no timezone setting in user profile field. I guess you mean the Settings page (that one is a Cloudron wide setting)? See also https://docs.cloudron.io/settings/#timezone
I just re-read the thread and it's a bit abstract. We have to take a step back. What is the original topic/issue about ?
-
@girish I checked the logs of Nextcloud or Collabora back then and noticed that it was wrong by ~ 2 hours if I remember right. Thus I changed the timezone setting in the Settings view of Cloudron from Los Angeles (whyever that was chosen) to Europe/Berlin and it was fine.
-
@warg OK, there was a bug that LA is chosen as default tz, if no tz was explicitly set. I have fixed this to make UTC as the default instead.
This feature request is still valid . Maybe we should either auto detect or ask the user about the timezone at installation/setup time.