• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 Jul 24, 2017, 3:51 AM

    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

    S 1 Reply Last reply Jul 24, 2017, 1:42 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @Adaman134
      last edited by Jul 24, 2017, 1:42 PM

      @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 Jul 24, 2017, 3:05 PM

        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?

        M 1 Reply Last reply Jul 24, 2017, 4:03 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Adaman134
          last edited by Jul 24, 2017, 4:03 PM

          @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 Jul 24, 2017, 4:27 PM Reply Quote 1
          • A Offline
            Adaman134 @Mykle1
            last edited by Jul 24, 2017, 4:27 PM

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

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              1/5
              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