MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Default MagicMirror clock config timezone error

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 3 Posters 3.2k Views 3 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.
    • A Offline
      Adaman134
      last edited by

      So I have been trying to switch the timezone in the clock.js file for the default MM clock module to New York
      I changed the timezone under analog clock to America/New_York as instructed in the module and then the clock doesn’t show up anymore
      I am using the clock in digital but I can’t find a specific timezone setting for digital
      Am I typing the timezone wrong?
      thanks,
      Adam

      If you need more information let me know

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @Adaman134
        last edited by

        @Adaman134 you shouldn’t touch the clock.js file, instead do the changes in your config file

        {
        	module: "clock",
        	position: "top_left",
        	config: {
        		timezone: 'America/New_York'
        	}
        }
        

        if you are in new york you don’t have to do this at all, I would recommend to set your rpi timezone correctly instead.

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 2
        • A Offline
          Adaman134
          last edited by

          Ok thank you, so for all the modules I should be changing it in the config.js file? So if it says I can change something like for this clock make it digital or analog I should add that line to the config.js under that module?

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Adaman134
            last edited by

            @Adaman134

            Yes, every module should come with a readme file that describes the options that you can manage. All of these options should be managed in the config file entry for each module. Editing the module.js files is not recommended.

            Create a working config
            How to add modules

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              Adaman134 @Mykle1
              last edited by

              @Mykle1 ok thank you very much now I understand :)

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy