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-CalendarExt3 shows both start and end time. How to stop showing end time.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 1.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.
    • E Offline
      EngrAg81
      last edited by

      I recently installed MMM-CalendarExt3. It currently shows both the start and end time of each event. Is there a way to stop displaying the end time? None of the pictures I saw online show an end time. I would appreciate any help.
      b9e08cce-6ff0-486f-a584-05e7af170094-calendar issue.jpeg calendar issue.jpeg

      S 1 Reply Last reply Reply Quote 0
      • E Offline
        EngrAg81 @bobbylx
        last edited by

        @bobbylx Thanks for your help. I did not use your config.js recommendation because it just looks like you are converting celsius to fahrenheit. I did use the custom.css lines and it worked great. Thanks again.

        1 Reply Last reply Reply Quote 2
        • S Offline
          sdetweil @EngrAg81
          last edited by

          @EngrAg81 use css

          from the doc
          IMG_1110.png

          in custom.css

          .CX3 .event .endTime {
             display:none;
          }
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            EngrAg81 @sdetweil
            last edited by

            @sdetweil
            It worked! Thanks!

            Do you know if there a reference in that doc about the weather icon and 4 digit number after it?

            S B 3 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @EngrAg81
              last edited by

              @EngrAg81 i do not, its just the module read file,
              shown on the github page

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bobbylx @EngrAg81
                last edited by

                @EngrAg81 I don’t have a lot of info on it, I did tweak my weather info but it’s been a couple years now. The number is the High/Low forecast-ed temperature. Have to turn on the default weather module in forecast mode, then I added this to config.js under MMM-calendarext3,

                    useWeather: true,
                                            displayWeatherTemp: true,
                                                      weatherPayload:(payload) => {
                                                 if (Array.isArray(payload?.forecastArray)) {
                                                   payload.forecastArray = payload.forecastArray.map((f) => {
                                                     f.maxTemperature = Math.round(f.maxTemperature * 9 / 5 + 32)
                                                     f.minTemperature = Math.round(f.minTemperature * 9 / 5 + 32)
                                             return f
                
                

                I don’t remember what changes I made to get the degree symbol and up/down arrows. I’ll post here if I can find those changes.
                Screenshot_20250507_092215.png

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bobbylx @EngrAg81
                  last edited by

                  @EngrAg81 Ok, I think this is what you would edit to change the way those numbers are displayed, ie, High/low temp. This will be in the custom.css.

                  CX3 .cellHeader .cellWeather .maxTemp {
                    color: white;
                    font-weight: bold;
                    font-size: 90%;
                  }
                  
                  .CX3 .cellHeader .cellWeather .minTemp {
                    color: darkgray;
                    font-weight: normal;
                  }
                  
                  .CX3 .cellHeader .cellWeather .temperature {
                    display: var(--displayWeatherTemp);
                    padding-left: 5px;
                    font-size: 90%;
                  }
                   
                  .CX3 .cellHeader .cellWeather .maxTemp::before {
                    content: " \25b2";  
                  }
                  
                  .CX3 .cellHeader .cellWeather .minTemp::before {
                    content: " \25bc";
                  }
                   
                  .CX3 .cellHeader .cellWeather .temperature::after {
                    content: "° ";
                  }
                  
                  
                  E 1 Reply Last reply Reply Quote 1
                  • E Offline
                    EngrAg81 @bobbylx
                    last edited by

                    @bobbylx Thanks for your help. I did not use your config.js recommendation because it just looks like you are converting celsius to fahrenheit. I did use the custom.css lines and it worked great. Thanks again.

                    1 Reply Last reply Reply Quote 2
                    • S sdetweil has marked this topic as solved on

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 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