<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-CalenarExt3 : eventTransformer not working on evets with specific start time]]></title><description><![CDATA[<p dir="auto">In the code below, events with “Bday” in the title are correctly colored but the  “birthday-icon” is not applied. They are all full day events. The intent is that each person has a color and icon applied to their events  but events with a specific start time are not transformed.  What am I doing wrong?</p>
<p dir="auto">I will appreciate specifics and examples of correct code. I’ve had the Pi running a week and these are my first attempts at coding and I’m struggling with some of it.</p>
<p dir="auto">I tried using eventNames and then using the custom.css to color events but couldn’t get that to work for any events including full day.</p>
<pre><code>  ```
</code></pre>
<p dir="auto">module: “MMM-CalendarExt3”,<br />
position: “bottom_bar”,<br />
title: “May Cubed”,<br />
config: {<br />
mode: “month”,<br />
instanceId: “combinedCalendar”,<br />
locale: ‘en-US’,<br />
maxEventLines: 6,<br />
showMore: true,<br />
firstDayOfWeek: 0,<br />
useMarquee: false,<br />
calendarSet: [], //&lt;-- can enter “name of calendar from calendar module” to display only that one. Works in combination with InstanceId</p>
<pre><code>	eventTransformer: (ev) =&gt; {
		if (ev.title &amp;&amp; ev.title.search("Bday") &gt; -1) {
			ev.color = "#3056FF"
			//ev.symbol = "birthday-cake" &lt;--is there something to do this in transform? I have them as keyword customEvents under the calendar module

		} else if (ev.title &amp;&amp; ev.title.search("Name1") &gt; -1) {
			ev.color = "#80ef80",
			//ev.symbol = "flower-tulip" &lt;--same comment as above
</code></pre>
<pre><code></code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/19140/mmm-calenarext3-eventtransformer-not-working-on-evets-with-specific-start-time</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 08:04:06 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19140.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 16 Nov 2024 06:56:13 GMT</pubDate><ttl>60</ttl></channel></rss>