• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Setting Time Zone

    Scheduled Pinned Locked Moved General Discussion
    11 Posts 6 Posters 5.0k Views 2 Watching
    Loading More Posts
    • 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.
    • jkandasaJ Offline
      jkandasa @gouds
      last edited by

      @gouds Seems we can change the timezone for JVM. See this thread for more details.

      In MC you have to put entry in the location >> mycontroller/bin/start.sh

      line #54,

                $_java ${HEAP_MIN} ${HEAP_MAX} -Duser.timezone=Europe/Sofia -Dlogback.configurationFile=${CONF_LOG_FILE} -Dmc.conf.file=${CONF_PROPERTIES_FILE} -cp "../lib/*" org.mycontroller.standalone.StartApp >> ../logs/mycontroller.log 2>&1 &
      
      

      Please note: I did not test this one.

      1 Reply Last reply Reply Quote 0
      • M Offline
        maman
        last edited by

        Hello,

        I installed the MC on cloud server.
        I have set the timezone, and if we entry "date" command, display the proper my local time.
        However, in mycontroller dashboard, the timezone is still not change, display UTC(+0000).

        How to setup the timezone display in the MC dashboard ?

        Regards,
        Maman

        1 Reply Last reply Reply Quote 0
        • K Offline
          kadu
          last edited by

          Don't worked for me, any other idea ?

          K 1 Reply Last reply Reply Quote 0
          • R Offline
            Redferne
            last edited by

            Also looking for a solution for this. Mine is stuck at "CEST (+0200)" and is actually one hour ahead. Very annoying.

            jkandasaJ 1 Reply Last reply Reply Quote 0
            • jkandasaJ Offline
              jkandasa @Redferne
              last edited by

              @Redferne Can you check your java version is latest one?

              1 Reply Last reply Reply Quote 0
              • R Offline
                Redferne
                last edited by

                pi@raspberrypi:~ $ java -version
                java version "1.8.0_65"
                Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
                Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)

                The latest oracle-java8-jdk for Raspbian Jessie.

                jkandasaJ 1 Reply Last reply Reply Quote 0
                • jkandasaJ Offline
                  jkandasa @Redferne
                  last edited by

                  @Redferne Do logout and login from MC GUI and check once again.

                  1 Reply Last reply Reply Quote 1
                  • R Offline
                    Redferne
                    last edited by

                    Yes. Logout and Login corrected my time. Thanks!

                    1 Reply Last reply Reply Quote 1
                    • K Offline
                      kadu @kadu
                      last edited by

                      @kadu after 3 days the timezone parameter worked to me! (tks @jkandasa )

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        Fraid
                        last edited by

                        Fixed for me too, I was having the wrong time on Chrome browser, while on Safari was correct.
                        With logout and login.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        0

                        Online

                        589

                        Users

                        529

                        Topics

                        3.4k

                        Posts
                        Copyright © 2015-2025 MyController.org | Contributors | Localization