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.

    Config for clock not working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 5 Posters 6.8k Views 4 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.
    • KirAsh4K Offline
      KirAsh4 Moderator
      last edited by

      And the console error is? Or possibly it could also be in 'pm2 logs <YOUR_MM_TASK_NAME>' …

      A Life? Cool! Where can I download one of those from?

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

        @KirAsh4 When I hit <CTRL-M> for the console (which is what I assume you mean) I doesn’t give any errors. Everything is working fine. It shows all the data correctly, but the clock is in 24 hour format. It’s almost like it’s just omitting the config section, and moving on. Though it says "No helper found for the module: clock. But I am pretty sure it always has said that.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • MrHM Offline
          MrH
          last edited by paviro

          Had the same issue. Try removing the ’ marks before and after “true” or “false”

          like this

          config: {
               displaySeconds: false,
           }
          

          worked for me ;)


          Note from admin: Please use Markdown on code snippets!

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

            yes true and false are booleans and no strings, so you need to remove the quotes

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

            1 Reply Last reply Reply Quote 0
            • mochmanM Offline
              mochman Module Developer
              last edited by

              @strawberry-3-141 Try timeFormat: 12, instead of timeformat: 12,.

              Capitalization has gotten me more times that I can count.

              1 Reply Last reply Reply Quote 0
              • 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