A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-CalendarEx3 use description instead of summary of ics file
-
Hello,
is it possible to use the description instead of the summary of a ics file?
In my case, the summary is unfortunately very general, so the correct information is in the description. Unfortunately, I currently only have appointments that are labeled “General”.
Would it be possible with eventTransformer?
KR Holger -
/* MMM-CalendarExt3 config in config/config.js */ ... config: { eventTransformer: (event) => { if (event.calendarName === 'test' && event.description) { // If event is from 'test' calendar and has description, event.title = event.description } return event; } ...
9:00 PM event was originally titled as ‘Singleday Event’
-
-
@MMRIZE
Ok, thank you.
Do you have an example how to do this?
Summary is allways “Allgemein” with different descriptions. -
/* MMM-CalendarExt3 config in config/config.js */ ... config: { eventTransformer: (event) => { if (event.calendarName === 'test' && event.description) { // If event is from 'test' calendar and has description, event.title = event.description } return event; } ...
9:00 PM event was originally titled as ‘Singleday Event’