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 1.3k 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

      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 Reply Quote 0
      • S Offline
        sdetweil @pauabaer
        last edited by

        @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 Reply Quote 0
        • P Offline
          pauabaer @sdetweil
          last edited by

          @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 Reply Quote 0
          • S Offline
            sdetweil @pauabaer
            last edited by

            @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 Reply Quote 0
            • P Offline
              pauabaer @sdetweil
              last edited by

              @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 Reply Quote 0
              • S Offline
                sdetweil @pauabaer
                last edited by

                @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 Reply Quote 0
                • P Offline
                  pauabaer @sdetweil
                  last edited by

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

                  1 Reply Last reply Reply Quote 0

                  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