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

default calendar module - vacation length

Scheduled Pinned Locked Moved Unsolved Troubleshooting
7 Posts 2 Posters 611 Views 2 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.
  • P Offline
    pauabaer
    last edited by Dec 7, 2022, 9:28 PM

    Hi guys, i hope it is the right section here…
    … i have a question about the default calendar module:

    I want to show the vacation from an ics-file. Within this file you can find both start and end date. But i can’t get it worked to show me the end.

    I prefer an output like:
    Summer KW27 - KW33

    The [KW] is not that problem. My Output so far is just the beginning of the vacation. Is it possible to show the length at all?

    Thanks for your help.
    pauabaer

    S 1 Reply Last reply Dec 7, 2022, 9:34 PM Reply Quote 0
    • S Away
      sdetweil @pauabaer
      last edited by Dec 7, 2022, 9:34 PM

      @pauabaer do you have
      showEnd:true,
      set?

      also, you may have to fiddle with the dateFormat, fullDateFormat
      as well…

      there are a LOT of config options.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Dec 7, 2022, 9:36 PM Reply Quote 0
      • P Offline
        pauabaer @sdetweil
        last edited by Dec 7, 2022, 9:36 PM

        @sdetweil
        thanks for the quick response. I have tried that way. See my config below:

        		{
        			module: "calendar",
        			header: "Berliner Ferien 2023",
        			position: "top_left",
        			config: {
        				fullDayEventDateFormat: "[KW]ww",
        				dateEndFormat: "[KW]ww",
        				calendars: [
        					{
        						symbol: "suitcase-rolling",
        						url: "https://www.ferienwiki.de/exports/ferien/2023/de/berlin",
        						maximumEntries: "4"
        					}
        				]
        			}
        		},
        
        
        S 1 Reply Last reply Dec 7, 2022, 9:38 PM Reply Quote 0
        • S Away
          sdetweil @pauabaer
          last edited by Dec 7, 2022, 9:38 PM

          @pauabaer

          showEnd: true

          is not set

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          P 1 Reply Last reply Dec 7, 2022, 9:46 PM Reply Quote 0
          • P Offline
            pauabaer @sdetweil
            last edited by Dec 7, 2022, 9:46 PM

            @sdetweil
            when i set this - i think its not neccessary because default=true - no change in the output. That’s why I am asking here.

            S 1 Reply Last reply Dec 7, 2022, 9:50 PM Reply Quote 0
            • S Away
              sdetweil @pauabaer
              last edited by Dec 7, 2022, 9:50 PM

              @pauabaer the default is false in the code

              	showEnd: false,
              

              its case sensitive
              ,and must be in the config:{} section, NOT in the calendars:[] section

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              P 1 Reply Last reply Dec 8, 2022, 7:25 AM Reply Quote 0
              • P Offline
                pauabaer @sdetweil
                last edited by Dec 8, 2022, 7:25 AM

                @sdetweil
                I‘ve already set this beneath the dateFormat in the config-section. But without success.

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