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.

    MMM-Multimonth

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 3 Posters 2.9k 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.
    • G Offline
      George @BKeyport
      last edited by

      @bkeyport , work, thanks, good job! :)

      1 Reply Last reply Reply Quote 0
      • G Offline
        George @BKeyport
        last edited by

        @bkeyport , hi, after you made the last change to the module, I deleted it and installed it again. Everything was OK. A few days ago, I restarted the mirror. It’s been a day late since then. If I restart it in the morning (am) it’s ok. The problem occurs if I restart it in the afternoon (pm). IMG_20210627_071222551_HDR.jpg IMG_20210627_172822772_HDR.jpg

        BKeyportB 1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @George
          last edited by BKeyport

          @george Odd. I didn’t change anything except add a file for MMM-Config. I’ll look at it.

          Confirmed. Nothing changed, nothing I can do can make it break.

          @sdetweil @cowboysdude @Mykle1 – anyone wanna help with this? Please? I’m pretty sure at this point it’s not my module.

          The "E" in "Javascript" stands for "Easy"

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

            @bkeyport actually above, I see it highlighting the 26th, but text says 27th in both cases…

            in the previous it was only one side that was wrong… now both are

            looking at the code now

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @bkeyport the only code that sets the highlighting is
              starting at line 82

              so, I would change the css to unique colors for the 3 lines, (2 have different classes but same color)

              								if (currentWeekday.day() == 0 || currentWeekday.day() == 6) {
              									output += "<div class='current_day_weekend'>" + currentWeekday.format("D") + "</div>";
              								} else {
              									output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
              								}
              							} else {
              								output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
              
              								if (currentWeekday.day() == 0 || currentWeekday.day() == 6) {
              									output += "<div class='current_day_weekend'>" + currentWeekday.format("D") + "</div>";
              								} else {
              									output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
              								}
              							} else {
              								output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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