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- fulldayevent recognition

    Scheduled Pinned Locked Moved Utilities
    3 Posts 2 Posters 1.9k 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.
    • T Offline
      TomasZmuda
      last edited by

      Hi,
      I’m creating the iCalendar file via php from your company calendar. But magicmirror calendar module sometimes recognize the vevent as fullday, sometimes as normal event. But all event all fullday.

      Here is part of my ics:

      BEGIN:VCALENDAR
      VERSION:2.0
      PRODID:PHP
      METHOD:PUBLISH
      CALSCALE:GREGORIANX-WR-CALNAME:CSS calendar
      X-WR-TIMEZONE:Europe/Prague
      BEGIN:VEVENT
      DTSTART;VALUE=DATE:20180427
      DTEND;VALUE=DATE:20180501
      DTSTAMP:20180426T143001Z
      DESCRIPTION:Absence
      SUMMARY:Dovolená: EKT
      UID:1174
      END:VEVENT
      BEGIN:VEVENT
      DTSTART;VALUE=DATE:20180427
      DTEND;VALUE=DATE:20180428
      DTSTAMP:20180426T143001Z
      DESCRIPTION:Absence
      SUMMARY:Dovolená: TRC F1
      UID:1190
      END:VEVENT
      

      But as you can see, it’s normal event in EKT, and fullday in TRC F1.
      Today is 26.4., both event start tomorrow (zítra).

      0_1524750665265_fd95d27a-7e43-4628-9093-b621f9563d40-image.png

      Config file:

      {
                              module: "calendar",
                              header: "Company project calendar",
                              position: "top_left",
                              config: {
                                      calendars: [
                                               {
                                                      symbol: "plane",
                                                      url: "event_calendar.ics"
                                              }
                                              ],
                                      maximumEntries: 15,
                                      fetchInterval: 1800000,
                                      timeFormat: 'absolute',
                                      fullDayEventDateFormat: 'ddd DD MMM',
                                      dateFormat: 'ddd DD MMM',
                                      urgency: 2
                              }
                      },
      

      Could somebody help me, where should be problem? Thank you!

      1 Reply Last reply Reply Quote 0
      • C Offline
        Charley Module Developer
        last edited by

        I had the same problem with my cities Garbage collection calendar

        First i checked their calendar with Validator

        I have solved the issue by giving whole day events a start time and an endtime

        DTSTART;VALUE=DATE:20180427T0000
        DTEND;VALUE=DATE:20180428T2359
        

        It is an issue in MagicMirror

        MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          TomasZmuda @Charley
          last edited by

          @Charley said in Default Calendar- fulldayevent recognition:

          I had the same problem with my cities Garbage collection calendar

          First i checked their calendar with Validator

          I have solved the issue by giving whole day events a start time and an endtime

          DTSTART;VALUE=DATE:20180427T0000
          DTEND;VALUE=DATE:20180428T2359
          

          It is an issue in MagicMirror

          Thank you for your reply, but this doesn’t work. If I added the time into wholeday statement, magicmirror show’s Invalid date and in validator are errors too.

          0_1525074432129_ef11b503-a7e6-40da-8e06-d7056057156e-image.png

          0_1525074470269_36137230-8ca6-4a48-a4a4-42f10cfe8631-image.png

          I’ll try another solution.

          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