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.

    Moment Timezone has no data for GMT+abcd

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 636 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.
    • M Offline
      Mystara
      last edited by

      Hi there,

      I’m getting the above error (Moment Timezone has no data for GMT+0100) for certain entries in my calendar. From a look, I think these are all iCal entries that relate to flights. From looking around, I understand that there’s some ‘need’ to create custom timezones for flights where a flight might take off in one timezone and land in another?

      In any case, looking at my calendar file, there appear to be two relevant entries. The first:

      BEGIN:VTIMEZONE
      TZID:GMT+0100
      BEGIN:STANDARD
      TZOFFSETFROM:+0100
      DTSTART:20010101T000000
      TZNAME:GMT+1
      TZOFFSETTO:+0100
      END:STANDARD
      END:VTIMEZONE

      Seems to be creating a new time zone called “GMT+0100”.

      The second entry then seems to use that time zone:

      BEGIN:VEVENT
      CREATED:20220426T192115Z
      UID:20220426T192113Z--386008955@www.britishairways.com
      DTEND;TZID=“GMT+0100”:20220526T072500
      TRANSP:TRANSPARENT
      X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
      SUMMARY:Online Check-in opens for
      LAST-MODIFIED:20220426T192115Z
      DTSTAMP:20220426T192112Z
      DTSTART;TZID=“GMT+0100”:20220526T072500
      SEQUENCE:0
      DESCRIPTION:
      END:VEVENT

      And I’m guessing it’s this latter entry that causes MM to raise the above error.

      Any thoughts on how to fix this (besides removing the entry from my calendar)?

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Mystara
        last edited by sdetweil

        @Mystara yes, Microsoft has messed it up again.
        they have changed the format, to another non standard format.

        I’ve fixed it twice so far. unfortunately this is in the Ical parser library we use. I won’t be able to get this done before the next mm release on April 1.

        nobody but Microsoft supports custom timezones.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Mystara
          last edited by

          @Mystara said in Moment Timezone has no data for GMT+abcd:

          DTEND;TZID=“GMT+0100”:20220526T072500

          actually this is worse than any of the others… because they USED to clarify that this was a custom timezone, now they don’t…

          the open issue
          https://github.com/jens-maus/node-ical/issues/246

          where the choices before were
          if (tz === ‘tzone://Microsoft/Custom’ || tz===‘Customized Time Zone’) {

          now there is nothing…

          the list of standardised timezones is
          https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            Mystara @sdetweil
            last edited by

            @sdetweil Thanks for looking. Classic Microsoft behaviour :)

            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