Read the statement by Michael Teeuw here.
Default Calendar- fulldayevent recognition
-
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).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!
-
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
-
@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.
I’ll try another solution.