Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Detect timezone automatically

Detect timezone automatically

Scheduled Pinned Locked Moved Feature Requests
10 Posts 3 Posters 1.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    warg
    wrote on last edited by
    #1

    Hello,

    I just noticed that the timestamps are wrong in my setup because the timezone is not right. It would be good if Cloudron detects the right timezone during the setup/installation. I wasn't aware I have to set it on my own.

    Best Regards,

    C girishG 2 Replies Last reply
    0
    • W warg

      Hello,

      I just noticed that the timestamps are wrong in my setup because the timezone is not right. It would be good if Cloudron detects the right timezone during the setup/installation. I wasn't aware I have to set it on my own.

      Best Regards,

      C Offline
      C Offline
      ccfu
      wrote on last edited by
      #2

      @warg
      You don't. It will take the server timezone if you don't change it. Maybe your server timezone is incorrect?

      W 1 Reply Last reply
      0
      • C ccfu

        @warg
        You don't. It will take the server timezone if you don't change it. Maybe your server timezone is incorrect?

        W Offline
        W Offline
        warg
        wrote on last edited by
        #3

        @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?

        C 1 Reply Last reply
        0
        • W warg

          @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?

          C Offline
          C Offline
          ccfu
          wrote on last edited by ccfu
          #4

          @warg said in Detect timezone automatically:

          Looks like changing it in Cloudron doesn't "" change it on OS level, right?

          I don't think it does, no.

          1 Reply Last reply
          0
          • W warg

            Hello,

            I just noticed that the timestamps are wrong in my setup because the timezone is not right. It would be good if Cloudron detects the right timezone during the setup/installation. I wasn't aware I have to set it on my own.

            Best Regards,

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @warg the server is always UTC. It's best not to change this. The log timestamps are based on the browser timezone.

            W 1 Reply Last reply
            1
            • girishG girish

              @warg the server is always UTC. It's best not to change this. The log timestamps are based on the browser timezone.

              W Offline
              W Offline
              warg
              wrote on last edited by
              #6

              @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).

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @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 ?

                W 1 Reply Last reply
                0
                • girishG girish

                  @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 ?

                  W Offline
                  W Offline
                  warg
                  wrote on last edited by
                  #8

                  @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.

                  1 Reply Last reply
                  1
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @warg OK, strange, let me double check. That is not behaving the way I expect it to behave.

                    1 Reply Last reply
                    1
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by girish
                      #10

                      @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.

                      1 Reply Last reply
                      2
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search