<?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[dateFormat and getRelative]]></title><description><![CDATA[<p dir="auto">I have two of the default calendar modules, one above the other both visually and in <code>config.js</code>.</p>
<p dir="auto"><code>module_1_calendar</code>and <code>module_2_calendar</code>. I have both modules with <code>dateFormat</code> set to <code>MM/DD/YY</code>.<br />
I also have <code>getRelative: 0, </code>which in the configure options description says will force the calendar event to stay absolute vs at a configured time (0 - 48) with default being 6.  My understanding could be way off the mark but I translate that as saying right up to and including the day of the event it will stay in <code>'MM/DD/YY'</code> rather than what is shown in attached picture of my <code>config.js</code> file.  The default 6 hours isn’t really the issue either as the circled Wednesday at 12:AM is way out beyond 6 hours.<br />
In the end I do not want either calendar to show anything but <code>'MM/DD/YY'</code>  and I thought the combination of the date format and forcing the <code>getRelative</code> would accomplish that.</p>
<p dir="auto"><img src="/assets/uploads/files/1630176840682-getrelative.jpg" alt="getRelative.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1630176754141-relative-vs-absolute.jpg" alt="Relative  vs Absolute.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/15426/dateformat-and-getrelative</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 19:08:45 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15426.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Aug 2021 19:02:52 GMT</pubDate><ttl>60</ttl></channel></rss>