• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • 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.
  • G Offline
    gouds
    last edited by 23 Dec 2016, 22:18

    Hi Guys,
    I have MC on a server that uses PST as a timezone. Im unable to change this (Limitation of the NAS) to my local region. Is there a way to explicitly set the time zone for MC my TZ. When i go into MC i get the server time. Or is it possible to set the Java instance to a time zone leaving the local server as is.
    Thanks
    Gouds

    J 1 Reply Last reply 25 Dec 2016, 02:10 Reply Quote 0
    • J Offline
      jkandasa @gouds
      last edited by 25 Dec 2016, 02:10

      @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 7 Jan 2017, 14:32

        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 8 Jan 2017, 09:56

          Don't worked for me, any other idea ?

          K 1 Reply Last reply 14 Jan 2017, 04:00 Reply Quote 0
          • R Offline
            Redferne
            last edited by 9 Jan 2017, 16:01

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

            J 1 Reply Last reply 9 Jan 2017, 16:32 Reply Quote 0
            • J Offline
              jkandasa @Redferne
              last edited by 9 Jan 2017, 16:32

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

              1 Reply Last reply Reply Quote 0
              • R Offline
                Redferne
                last edited by 9 Jan 2017, 16:43

                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.

                J 1 Reply Last reply 9 Jan 2017, 17:50 Reply Quote 0
                • J Offline
                  jkandasa @Redferne
                  last edited by 9 Jan 2017, 17:50

                  @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 10 Jan 2017, 21:20

                    Yes. Logout and Login corrected my time. Thanks!

                    1 Reply Last reply Reply Quote 1
                    • K Offline
                      kadu @kadu
                      last edited by 14 Jan 2017, 04:00

                      @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 25 Jan 2017, 01:26

                        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

                        587

                        Users

                        529

                        Topics

                        3.4k

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