Read the statement by Michael Teeuw here.
Calendar Module not working as expected
-
Hi,
I’m still quite new to MagicMirror and I found a problem I cannot seem to solve, despite reading the documentation (and forum).
I’d like my calendar to show the upcoming holidays with the Month and Day format (DD MMM), for example Easter should be “5 Apr”.
I added to the
config.jsthe relative lines as stated in the documentation (dateFormat…), but there’s no visible change on the screen where I keep seeing “Apr 5°”: I tried both with “DD MMM” and “D MMM” (I even tried “GG MMM” since in italian Day is Giorno) but the display keeps always showing the same thing.Here’s my config.js (I’m using the Thunderbird .ics calendar because it was the only one I could find online with italian holidays, I might change it in the future).
module: "calendar", header: "Giorni festivi", position: "top_left", config: { timeFormat: "absolute", dateFormat: "DD MMM", fullDayEventDayFormat: "DD MMM", calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, maximumEntries: 5, symbol: "calendar-check", url: "https://www.thunderbird.net/media/caldata/autogen/Itali> } ] }The only other thing I changed in the config.js is language / locale
language: "it", locale: "it-IT",The output was and is always the same, despite having added those lines.
What am I doing wrong? How to fix it?
Thank you in advance
-
@Gherry the doc says you need two more config parm’s,
urgency and getRelative
