<?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-CalendarExt3 Formatting questions]]></title><description><![CDATA[<p dir="auto">These questions are about making the most of the space I have available.</p>
<p dir="auto">MMM-CalendarExt3:</p>
<ul>
<li>How can I change the time format?  I only see a section to change locale, not specific format.</li>
<li>Can the colored ‘dot’ or icon be removed?</li>
<li>Can an event span 2 rows?  dot &amp; time on row 1, name on row 2?</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/topic/17770/mmm-calendarext3-formatting-questions</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 07:50:58 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17770.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 May 2023 01:18:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:55:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/109203">MMM-CalendarExt3 Formatting questions</a>:</p>
<blockquote>
<p dir="auto">.CX3  instead of .MMM-CalendarExt3</p>
</blockquote>
<p dir="auto">Of course, <code>.MMM-CalendarExt3</code> instead of <code>.CX3</code> would work with the same priority. I just want to type less. :D</p>
<pre><code class="language-css">.MMM-CalendarExt3 .event .title { ... } /* specificity: 0-3-0 */
</code></pre>
<p dir="auto">and</p>
<pre><code class="language-css">.CX3 .event .title { ... } /* specificity: 0-3-0 */
</code></pre>
<p dir="auto">both would have the same priority(<code>specificity</code>), so anything would be ok.</p>
]]></description><link>https://forum.magicmirror.builders/post/109205</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109205</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 14:55:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:59:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a> said in <a href="/post/109200">MMM-CalendarExt3 Formatting questions</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> This did not work for me.  However, I was able to find the code in the css file and comment out the style that inserted the icon/symbol.</p>
<p dir="auto">I don’t have a ‘custom.css’ file.  Are you referring to the “MMM-CalendarExt3.css” file?</p>
</blockquote>
<p dir="auto">By default, when you install MM first, the <code>custom.css</code> doesn’t exist. You have to copy or create one. There is <code>custom.css.sample</code> in <code>css</code> directory. Copy or Rename it.<br />
The Installer script of <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> will do that automatically.</p>
]]></description><link>https://forum.magicmirror.builders/post/109207</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109207</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 14:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:56:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a> said in <a href="/post/109202">MMM-CalendarExt3 Formatting questions</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Didn’t realize it wasn’t part of the module css.  I’m assuming this takes precedence over code in the individual module css files?</p>
<p dir="auto">custom.css<br />
color: blue</p>
<p dir="auto">calendarext3.css<br />
color: black</p>
<p dir="auto">Is the color black or blue?</p>
</blockquote>
<p dir="auto"><strong>blue</strong> (while both selectors have the same specificity)</p>
]]></description><link>https://forum.magicmirror.builders/post/109206</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109206</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 14:56:53 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:55:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/109203">MMM-CalendarExt3 Formatting questions</a>:</p>
<blockquote>
<p dir="auto">.CX3  instead of .MMM-CalendarExt3</p>
</blockquote>
<p dir="auto">Of course, <code>.MMM-CalendarExt3</code> instead of <code>.CX3</code> would work with the same priority. I just want to type less. :D</p>
<pre><code class="language-css">.MMM-CalendarExt3 .event .title { ... } /* specificity: 0-3-0 */
</code></pre>
<p dir="auto">and</p>
<pre><code class="language-css">.CX3 .event .title { ... } /* specificity: 0-3-0 */
</code></pre>
<p dir="auto">both would have the same priority(<code>specificity</code>), so anything would be ok.</p>
]]></description><link>https://forum.magicmirror.builders/post/109205</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109205</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 14:55:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:31:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a> see the doc</p>
<p dir="auto"><a href="https://docs.magicmirror.builders/modules/customcss.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.magicmirror.builders/modules/customcss.html</a></p>
<p dir="auto">an entry is</p>
<pre><code>.modulename selector_clause {
     style-settings;
}
</code></pre>
<p dir="auto">so,  typically</p>
<pre><code>.MMM-CalendarExt3  ???? {
   color: black;
}
</code></pre>
<p dir="auto">but he doesn’t follow the rules, so his prefix is<br />
.CX3  instead of .MMM-CalendarExt3</p>
<p dir="auto">I use this for building the selector clause<br />
<a href="https://www.w3schools.com/cssref/css_selectors.php" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.w3schools.com/cssref/css_selectors.php</a></p>
]]></description><link>https://forum.magicmirror.builders/post/109203</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109203</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 05 May 2023 14:31:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:31:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> I should have said, ‘2 lines when necessary’.  I agree it’s goofy on all events.  Another idea is some kind of separator to distinguish 2-line events, make them easier to read.</p>
]]></description><link>https://forum.magicmirror.builders/post/109204</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109204</guid><dc:creator><![CDATA[Studio472]]></dc:creator><pubDate>Fri, 05 May 2023 14:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:26:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Didn’t realize it wasn’t part of the module css.  I’m assuming this takes precedence over code in the individual module css files?</p>
<p dir="auto">custom.css<br />
color: blue</p>
<p dir="auto">calendarext3.css<br />
color: black</p>
<p dir="auto">Is the color black or blue?</p>
]]></description><link>https://forum.magicmirror.builders/post/109202</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109202</guid><dc:creator><![CDATA[Studio472]]></dc:creator><pubDate>Fri, 05 May 2023 14:26:51 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:23:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> I’m not sure the solution, I agree it’s not as pretty, but at least it is informative.  Maybe I just need to un-bold my font to make better use of the space.</p>
<p dir="auto">I am curious how you get the baseball icons in the event title.  When I tried changing the icons, very few actually worked.</p>
]]></description><link>https://forum.magicmirror.builders/post/109216</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109216</guid><dc:creator><![CDATA[Studio472]]></dc:creator><pubDate>Fri, 05 May 2023 14:23:11 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:22:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a> said in <a href="/post/109200">MMM-CalendarExt3 Formatting questions</a>:</p>
<blockquote>
<p dir="auto">I don’t have a ‘custom.css’ file.  Are</p>
</blockquote>
<p dir="auto">create one</p>
<p dir="auto">touch ~/MagicMirror/css/custom.css</p>
<p dir="auto">if you had used my install script, it would have done this for you, see<br />
<a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
]]></description><link>https://forum.magicmirror.builders/post/109201</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109201</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 05 May 2023 14:22:23 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:19:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> This did not work for me.  However, I was able to find the code in the css file and comment out the style that inserted the icon/symbol.</p>
<p dir="auto">I don’t have a ‘custom.css’ file.  Are you referring to the “MMM-CalendarExt3.css” file?</p>
]]></description><link>https://forum.magicmirror.builders/post/109200</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109200</guid><dc:creator><![CDATA[Studio472]]></dc:creator><pubDate>Fri, 05 May 2023 14:19:54 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 14:17:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> This worked for me, thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/109199</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109199</guid><dc:creator><![CDATA[Studio472]]></dc:creator><pubDate>Fri, 05 May 2023 14:17:02 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 08:20:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a></p>
<blockquote>
<p dir="auto">Can an event span 2 rows? dot &amp; time on row 1, name on row 2?</p>
</blockquote>
<p dir="auto"><strong>I don’t recommend this.</strong></p>
<p dir="auto"><strong>I don’t like this because it’s ugly and wasting space. And not easy to glance at and hard to recognize events.</strong><br />
So that’s why I have been hiding this.</p>
<p dir="auto"><img src="/assets/uploads/files/1683274667707-70ed7945-fb4d-4f7e-9d57-4f0fb7dfd626-image-resized.png" alt="70ed7945-fb4d-4f7e-9d57-4f0fb7dfd626-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Anyway, if you really want despite my warning; Append this to your <code>custom.css</code></p>
<pre><code class="language-css">.CX3 .eventContainer {
  height: calc(var(--eventheight) * var(--maxeventlines) * 2);
}

.CX3 .cellContainer,
.CX3 .week,
.CX3 .cell {
  height: calc(var(--cellheaderheight) + var(--cellfooterheight) + calc(var(--eventheight) * var(--maxeventlines) * 2));
}

.CX3 .event {
  align-items: flex-start
}

.CX3 .event .headline .title {
  flex-basis: 100%;
}

.CX3 .event .headline {
  flex-wrap: wrap;
}
</code></pre>
<p dir="auto">I dare to say still the original one-line approach is the better, without question;<br />
<img src="/assets/uploads/files/1683274843673-0f4854aa-9586-4319-ba84-a3710dc8455c-image-resized.png" alt="0f4854aa-9586-4319-ba84-a3710dc8455c-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/109189</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109189</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 08:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 06:52:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a> said in <a href="/post/109183">MMM-CalendarExt3 Formatting questions</a>:</p>
<blockquote>
<p dir="auto">Can the colored ‘dot’ or icon be removed?</p>
</blockquote>
<p dir="auto">Add this to your <code>custom.css</code></p>
<pre><code class="language-css">.CX3 .event .headline.useSymbol .symbol {
  display: none;
}
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1683269574865-17d1d3a0-022c-4a47-a631-8a1c0cbb4e80-image.png" alt="17d1d3a0-022c-4a47-a631-8a1c0cbb4e80-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/109187</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109187</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 06:52:58 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 Formatting questions on Fri, 05 May 2023 06:48:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/studio472" aria-label="Profile: Studio472">@<bdi>Studio472</bdi></a></p>
<blockquote>
<ul>
<li>How can I change the time format? I only see a section to change locale, not specific format.</li>
</ul>
</blockquote>
<p dir="auto">Generally, the time format depends on its locale. If you want to change the format by force, use <code>eventTimeOptions</code>. Javascript standard object <code>Intl</code> is used. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters" target="_blank" rel="noopener noreferrer nofollow ugc">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters</a></p>
<p dir="auto"><img src="/assets/uploads/files/1683267808596-b065073a-9868-4dac-a147-b00b84c8c519-image.png" alt="b065073a-9868-4dac-a147-b00b84c8c519-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">For example;</p>
<pre><code class="language-js">locale: "en-US",
eventTimeOptions: {hour: "numeric", hour12: true},
</code></pre>
<p dir="auto">will show like this;<br />
<img src="/assets/uploads/files/1683268474863-a93d42c8-098d-4a52-a5af-1d3cdc926d72-image.png" alt="a93d42c8-098d-4a52-a5af-1d3cdc926d72-image.png" class=" img-fluid img-markdown" /></p>
<pre><code class="language-js">locale: "en-US",
eventTimeOptions: {hour: "2-digit", hour12: false},
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1683268572888-d5712e4b-1fe8-4882-afde-6d014b921e7f-image.png" alt="d5712e4b-1fe8-4882-afde-6d014b921e7f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Under some locales, it will display different format.</p>
<pre><code class="language-js">locale: "ko-KR",
 eventTimeOptions: {hour: "2-digit", hour12: false},
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1683268693207-687b0d5a-614e-4999-a0f3-d605dc502d76-image.png" alt="687b0d5a-614e-4999-a0f3-d605dc502d76-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Or you can handle it with CSS Juggling, For example;</p>
<pre><code class="language-js">locale: "en-US",
 eventTimeOptions: {timeStyle: "short"},
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1683269058781-bccfd7f2-0917-4a69-9181-cd44f57bcc0a-image.png" alt="bccfd7f2-0917-4a69-9181-cd44f57bcc0a-image.png" class=" img-fluid img-markdown" /><br />
And append this to your <code>custom.css</code></p>
<pre><code class="language-css">.CX3 .event .eventTimeParts.dayPeriod {
  display: none;
}

.CX3 .event .eventTimeParts.hour {
  font-weight: bold;
  color: coral;
}
</code></pre>
<p dir="auto">Then you can get like this;<br />
<img src="/assets/uploads/files/1683269284867-bbf16656-f9b0-4bbe-be59-50ce4e6853d7-image.png" alt="bbf16656-f9b0-4bbe-be59-50ce4e6853d7-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/109186</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109186</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 05 May 2023 06:48:14 GMT</pubDate></item></channel></rss>