MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar Module not working as expected

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 10 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      Gherry
      last edited by

      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.js the 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?

      WhatsApp Image 2026-02-19 at 14.19.27.jpeg

      Thank you in advance

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Gherry
        last edited by sdetweil

        @Gherry the doc says you need two more config parm’s,
        urgency and getRelative

        IMG_4861.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy