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.

    Can't get seconds to not show up?

    Scheduled Pinned Locked Moved Fun & Games
    5 Posts 3 Posters 717 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.
    • R Offline
      rsun
      last edited by

      Re: MMM-DigClock

      I can’t get to remove seconds.

                  {
                          module: "MMM-DigClock",
                          position: "middle_center",
                          config: {
                                  showDate: false,
                                  showSeconds: false,
                                  timezone: "America/LosAngeles"
                                  }
      

      This is correct right?

      S wishmaster270W 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @rsun
        last edited by

        @rsun while the doc says there is a parameter to control seconds, the code does not do anything with that parameter or provide a way to remove seconds

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • wishmaster270W Offline
          wishmaster270 Module Developer @rsun
          last edited by

          @rsun Hi,
          there is a bug in the original module which causes the showSeconds flag to be ignored.
          The issue is fixed in this fork https://github.com/justjim1220/MMM-DigClock/pull/2/commits/c160d3c4477ae2b535470f032dab34914f2f8356 but it has not been merged since nearly three years.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @wishmaster270
            last edited by sdetweil

            @wishmaster270 @rsun so, to work this temporarily

            git clone as normal
            git fetch origin pull/2/head:seconds
            git checkout seconds
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              Thanks for your prompt response!

              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