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.

    config.js file Calendar part, don't show the 4th ICS and mess up the date format

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 943 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.
    • S Offline
      siraero
      last edited by

      Hi
      I have two issues with the new 2.10 of MM.
      have added a 4th. ICS (https://calendar.google.com/calendar/ical/da.danish%23holiday%40group.v.calendar.google.com/public/basic.ics) and I can’t get it to show the dates in the “calendars” the 3 other ICS is working fine.
      Image link https://drive.google.com/open?id=1SywDaeJ4MWxtpUFDbwZ75G9gEW9CUHjT

      The last link is the link in the ( ), and is not showed…

      calendars: [ { symbol: "calendar", url: "1. LINK TO WORKING GOOGLE ICS" }, { symbol: "birthday-cake", url: "2. LINK TO WORKING GOOGLE ICS" }, { symbol: "calendar", url: "3. LINK TO WORKING GOOGLE ICS" }, { symbol: "calendar", url: "https://calendar.google.com/calendar/ical/da.danish%23holiday%40group.v.calendar.google.com/public/basic.ics" } ]
      

      Im using fullDayEventDateFormat: “DD MMM” but appears as “Do MMM” (21. jan - maybe) for every second lines and “MMM Do” (Jan 25. - maybe) for the others in between.
      Image link https://drive.google.com/open?id=1q1u-o7qkh6xNX8R88LOieJCmcWbKIyoy

      config: { fullDayEventDateFormat: "DD MMM", timeFormat: "absolute", urgency: 7, calendars: [ .......... ] }
      Can someone help with...
      

      Why the 4th ICS link is not showed
      Why i get the two datetypes Do MMM and MMM Do, when I im my config.js file have DD MMM

      Have tried this, but with no luck :-)
      https://forum.magicmirror.builders/topic/9894/default-module-calendar-not-updating

      Can someone guide/help me ?

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

        I put your config into a newly installed MM installation (2.10)

        		{
        			module: "calendar",
        			header: "US Holidays",
        			position: "top_left",
        			config: {
        					fullDayEventDateFormat: "DD MMM", timeFormat: "absolute", urgency: 7,
        				calendars: [
        					{
        						symbol: "calendar-check",
        						// url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					
        						url: "https://calendar.google.com/calendar/ical/da.danish%23holiday%40group.v.calendar.google.com/public/basic.ics"
        					}
        				]
        			}
        		},
        

        and I see 10 calendar entries, the 1st is Feb 14, the last is May 5.

        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 @siraero
          last edited by

          @siraero if u move that cal entry to the top, does this one show and the new last one not show?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil said in config.js file Calendar part, don't show the 4th ICS and mess up the date format:

            @siraero if u move that cal entry to the top, does this one show and the new last one not show?

            Hi
            Have just moved the cal entry to the top, and it’s the same issue - it will not show the dates and it still show the other dates as Do MMM and MMM Do, and my FullDayEventDate Format is DD MMM…
            Then I hardreset is (Power off and on again) and now its sat “No Avalible events”…

            Unfortunately, you are right… that a clean installation is what it takes.
            Think it’s from 1.9 I started with and have so constantly updated my screen.
            So that may be why it behaves strangely.
            Thank you anyway :-)

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

              @siraero its probably the downlevel ical library in the calendar/vendor folderr

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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