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

MMM-CalendarExt2

Scheduled Pinned Locked Moved Utilities
484 Posts 82 Posters 663.0k Views 82 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.
  • L Offline
    luke1 @BKeyport
    last edited by Apr 6, 2021, 2:18 PM

    @bkeyport Thanks a lot! :)

    1 Reply Last reply Reply Quote 0
    • V Offline
      Vandrasky
      last edited by Apr 11, 2021, 8:57 PM

      Hi

      Just wondering if it’s possible to change the date format in the upcoming view.

      Its currently giving me how many days until the event. I’m looking for the date of the event.

      I’ve tried (useEventTimeRelative: “false”)

      any other thoughts?

      Jeremy

      1 Reply Last reply Reply Quote 0
      • A Offline
        almightyyoshi
        last edited by Jun 10, 2021, 6:49 PM

        Is there a way to show the next month in the “month” view? I want to rotate between the current month and next month. If it can be done, is there a way to show it without having to manually filter it each month (i.e filter = currentMonth + 1 … or something like that)?

        A 1 Reply Last reply Jun 12, 2021, 12:48 PM Reply Quote 0
        • A Offline
          almightyyoshi @almightyyoshi
          last edited by Jun 12, 2021, 12:48 PM

          @almightyyoshi NM. I was way overthinking that. Found the “fromNow” setting.

          1 Reply Last reply Reply Quote 0
          • M Offline
            Marva82 @BKeyport
            last edited by Jul 7, 2021, 12:48 AM

            @bkeyport
            That is not correct. If you want to get rid of the week count create a css/custom.css file, never change the main.css! And add this line
            .CX2 .weeksmark {
            display:none;
            }

            B 1 Reply Last reply Jul 7, 2021, 4:13 AM Reply Quote 0
            • B Offline
              BKeyport Module Developer @Marva82
              last edited by Jul 7, 2021, 4:13 AM

              @marva82 My statement was functionally correct. Yeah, I forgot to use the overused “Use custom.css” mantra

              (Which in this case, don’t really matter, as if you’d adjust MMM-CX2’s css stub, it’ll likely never get overwritten as the projects effectively dead)

              And yes, you can remove the Week of the year with your stub.

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

              1 Reply Last reply Reply Quote 1
              • D Offline
                debaetstony
                last edited by Aug 7, 2021, 2:59 PM

                Apparently I’m still using MMM-CalendarExt (which is archived) on my old configured MM, so I wanted to update it.
                After a while with MMM-CalendarExt2 I still have an issue.

                I don’t get the ‘Today’ and ‘Tomorrow’ in Dutch, also keep giving the date ‘month day’ instead of day/month.

                Additional question;
                I know that with following you hide the week numbers

                .CX2 .weeksmark {
                   display: none;
                }
                
                • But how can you remove the block so that the empty space disappears.
                • Also how do you get less space between the ‘Today / Tomorrow / next days’
                • Is it possible to see the entire appointment in ‘month’ view, even on multiple lines?
                  alt text
                S 1 Reply Last reply Aug 7, 2021, 4:49 PM Reply Quote 0
                • S Offline
                  SARCux @debaetstony
                  last edited by SARCux Aug 7, 2021, 4:52 PM Aug 7, 2021, 4:49 PM

                  @debaetstony

                  hi,
                  these are my lines in the config.js

                  views: [
                  			{
                  				name: "VIEW1",
                  				mode: "daily",
                  				title: "Termine nächsten Tage",
                  				position: "top_center",
                  				locale: "de-DE",
                  				calendars: ["eigene Kalender eintragen"],
                  				slotCount: 3,
                  				slotTitleFormat: {
                  						sameDay: "[Heute]",
                  						nextDay: "[Morgen]",
                  						nextWeek: "[am] dddd",
                  						lastDay: "[Gestern]",
                  						lastWeek: "[letzte] ddd",
                  						sameElse: "DD.MM."
                  								},
                  			},
                  
                  			],
                  

                  2021-08-07 18_50_57-Window.png

                  S 1 Reply Last reply Aug 7, 2021, 5:04 PM Reply Quote 0
                  • S Offline
                    sdetweil @SARCux
                    last edited by Aug 7, 2021, 5:04 PM

                    @sarcux the doc seems to suggest where you have

                    sameDay: "[Heute]",
                    

                    you could have the date format too

                    sameDay: "[Heute]  D, MMM",  
                    

                    you do that on lastWeek

                    lastWeek: "[letzte] ddd"
                    

                    formatting options
                    https://devhints.io/moment

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Aug 8, 2021, 2:47 PM Reply Quote 0
                    • D Offline
                      debaetstony @sdetweil
                      last edited by Aug 8, 2021, 2:47 PM

                      @sdetweil @SARCux
                      changed to

                      slotTitleFormat: {
                      	sameDay: "[Vandaag]",
                      	nextDay: "[Morgen]",
                      	nextWeek: "[Overmorgen]",
                      	},
                      slotSubTitleFormat: " ", // (default value is "ddd")
                      

                      and give me this
                      2021-08-08 16_46_56.png
                      (slotSubTitleFormat empty because changing date format does not work)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 38
                      • 39
                      • 40
                      • 41
                      • 42
                      • 48
                      • 49
                      • 40 / 49
                      • 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