• 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.

Analog + Digital Clock module

Scheduled Pinned Locked Moved Solved Requests
38 Posts 5 Posters 42.3k Views 5 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.
  • K Offline
    Kevin
    last edited by Jul 10, 2016, 4:42 PM

    Great work, is this published somewhere already?
    How do i get it?

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Jul 10, 2016, 5:07 PM

      It’s checked into the develop branch. You can grab that and test it out.

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

      K 1 Reply Last reply Jul 10, 2016, 6:31 PM Reply Quote 0
      • K Offline
        Kevin @KirAsh4
        last edited by Jul 10, 2016, 6:31 PM

        Sorry, im quite new here, develop branch? Cannot find it. :(

        1 Reply Last reply Reply Quote 0
        • K Offline
          KirAsh4 Moderator
          last edited by KirAsh4 Jul 11, 2016, 3:07 AM Jul 10, 2016, 7:20 PM

          I’m on the road at the moment so I can’t give you a detailed answer, but you can clone the develop branch instead of the master one:

          git clone - b develop http://github.com/MichMich/MagicMirror

          Warning: it will overwrite any changes you may have made to local files, just be aware of that.

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

          1 Reply Last reply Reply Quote 0
          • M Offline
            MichMich Admin
            last edited by Jul 12, 2016, 2:07 PM

            It’s in the master branch now … :)

            1 Reply Last reply Reply Quote 0
            • K Offline
              Kevin
              last edited by Jul 12, 2016, 7:12 PM

              Thanks alot mate… :bow:

              1 Reply Last reply Reply Quote 0
              • K Offline
                KirAsh4 Moderator
                last edited by Jul 12, 2016, 7:19 PM

                @Kevin, as a side note, if there’s a particular clock face that you like me to create for you, let me know. If you have an example, that will greatly help.

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

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pugsly
                  last edited by Jul 13, 2016, 12:10 AM

                  Works great, just one question. I want to put the analog clock in the top_center and don’t want to show the date because I have the digital clock in the top_right position. How do I turn off the date from showing on a 2nd clock module?

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    KirAsh4 Moderator
                    last edited by Jul 13, 2016, 4:43 AM

                    At the moment, it’s hard coded in. I’d have to add a config option so it can be turned off when used as a separate module.

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

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      KirAsh4 Moderator
                      last edited by Jul 13, 2016, 5:14 AM

                      Ok, I have it in my dev branch, but I won’t push it up just yet. I’ll wait a bit to see if there are other things that people will request or fixes. But if you must get rid of it now, you can manually edit the 'clock.js' file and delete line 173:

                      169:    } else if (this.config.displayType === 'analog') {
                      170:        // Display only an analog clock
                      171:        dateWrapper.style.textAlign = "center";
                      172:        dateWrapper.style.paddingBottom = "15px";
                      173:        wrapper.appendChild(dateWrapper);             <===== that line
                      174:        wrapper.appendChild(clockCircle);
                      175:    } else {
                      

                      It will only affect the analog clock when used as a separate module as a single clock.

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

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        25/38
                        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