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

    [ERROR] Moment Timezone has no data for Customized Time Zone

    Geplant Angeheftet Gesperrt Verschoben Gelöst Troubleshooting
    moment timezone calendar
    8 Beiträge 2 Kommentatoren 2.1k Aufrufe 2 Watching
    Lade mehr Beiträge
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen
    Antworten
    • In einem neuen Thema antworten
    Anmelden zum Antworten
    Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
    • K Offline
      Klassieker
      zuletzt editiert von

      Hello all,
      I just upgraded to version 2.17.1 and see this error. It is in the deault app Calendar.
      What can I change to stop this error?
      Thanks in advance.

      S 1 Antwort Letzte Antwort Antworten Zitieren 0
      • S Offline
        sdetweil @Klassieker
        zuletzt editiert von

        @klassieker 2.15 and above have special code to work around that problem… (I know , I added it) but this is for MS 365 cals.

        can u show me a cal entry from the ics file (use the url to download the file, and then u can edit it, as it is just text)

        a cal event starts with BEGIN:VEVENT
        and ends with END:VEVENT

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Antwort Letzte Antwort Antworten Zitieren 0
        • K Offline
          Klassieker @sdetweil
          zuletzt editiert von sdetweil

          @sdetweil
          Hi Sam, I use a special agenda from office 365 for the calender module
          Here is the information. Maybe I can change something in this agenda instead of the special code as work around?

          BEGIN:VEVENT
          UID: ....
          SUMMARY:Verpakkingen
          DTSTART;TZID=Customized Time Zone:20210107T080000
          DTEND;TZID=Customized Time Zone:20210107T090000
          CLASS:PUBLIC
          PRIORITY:5
          DTSTAMP:20211030T090840Z
          TRANSP:OPAQUE
          STATUS:CONFIRMED
          SEQUENCE:0
          LOCATION:
          X-MICROSOFT-CDO-APPT-SEQUENCE:0
          X-MICROSOFT-CDO-BUSYSTATUS:BUSY
          X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
          X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
          X-MICROSOFT-CDO-IMPORTANCE:1
          X-MICROSOFT-CDO-INSTTYPE:0
          X-MICROSOFT-DONOTFORWARDMEETING:FALSE
          X-MICROSOFT-DISALLOW-COUNTER:FALSE
          END:VEVENT
          

          Thanks in advance

          K 1 Antwort Letzte Antwort Antworten Zitieren 0
          • K Offline
            Klassieker @Klassieker
            zuletzt editiert von

            @klassieker
            Current timezone in the agenda.

            d26a02b1-6cac-4c5a-b772-92b18825366c-image.png

            S 1 Antwort Letzte Antwort Antworten Zitieren 0
            • S Offline
              sdetweil @Klassieker
              zuletzt editiert von sdetweil

              @klassieker ok, its just noise, doesn’t hurt anything…

              BUT if u want to test getting rid of the message do this

              edit ~/MagicMirror/modules/default/calendar/calendarutils.js

              	if (event.start.tz.includes(" ")) {  // this is line 37 , not changed
              	        let tz = null                // first replacement line
              		// if the tz is the MS customized TZ
              		if(event.start.tz ==='Customized Time Zone')
              			// use the locally set tz
              			tz=moment.tz.guess()
              		else
              			// use the lookup table to get the IANA name as moment and date don't know MS timezones
              			tz = CalendarUtils.getIanaTZFromMS(event.start.tz);  // last replacement line
              			Log.debug("corrected TZ=" + tz);      // line not to be changed
              

              replace the lines BETWEEN line 37 and the last line (also not changed)
              with first replacement line thru last replacement line
              so it looks like that

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              K 1 Antwort Letzte Antwort Antworten Zitieren 0
              • K Offline
                Klassieker @sdetweil
                zuletzt editiert von

                @sdetweil
                Hi Sam,
                I changed the rows and it works, no more noise.
                But what if the module is updated bu the developer?
                Thank you very much,

                S 1 Antwort Letzte Antwort Antworten Zitieren 0
                • S Offline
                  sdetweil @Klassieker
                  zuletzt editiert von

                  @klassieker you were testing… I will submit a change request … next release is January 1.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  K 1 Antwort Letzte Antwort Antworten Zitieren 0
                  • K Offline
                    Klassieker @sdetweil
                    zuletzt editiert von

                    @sdetweil Thanks, I will close this topic as solved

                    1 Antwort Letzte Antwort Antworten Zitieren 0
                    • spitzlbergerjS spitzlbergerj referenced this topic on
                    • T thger1312 referenced this topic on
                    • 1 / 1
                    • Erster Beitrag
                      Letzter Beitrag
                    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