MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Thekk
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 0

    Thekk

    @Thekk

    0
    Reputation
    69
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Thekk Unfollow Follow

    Latest posts made by Thekk

    • RE: MMM-CalendarExt2

      @Sean said in MMM-CalendarExt2:

      @Thekk
      Thanks. I haven’t thought about that method. Now I updated that part in the module.

      Excellent! Thanks for integrating the recurring filter.

      posted in Utilities
      T
      Thekk
    • RE: MMM-CalendarExt2

      @Sean said in MMM-CalendarExt2:

      @Thekk
      Hmmm… I think there is no flag about repeated events. I’ll research about it.
      For filtering; See this; https://github.com/eouia/MMM-CalendarExt2/wiki/Filtering-and-Sorting
      And this also; https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Object

      I haven’t seen any mention about that property in the filtering or event-object. I did browse through your parser and didn’t see any mention about repeating objects. I did Google a little further and found this function in (what I gather is) the underlying parser: http://mozilla-comm.github.io/ical.js/api/ICAL.Event.html#isRecurring

      Rather proud that I did (eventually) get it to work. I added

      // Check if an event is recurring and make a filterable property
            ev.isRecurring = ri.isRecurring()
      

      around line 140 in node_helper.js and added the following filter:

      filter: (event) => {
        if (event.isRecurring) {
           return false
        } else {
            return true
        }
      },
      

      to remove all recurring items from one of the views.

      posted in Utilities
      T
      Thekk
    • RE: MMM-CalendarExt2

      Thanks for your amazing work. I was wondering if events have a property that marks them as part of a repeating sequence. I would like to filter based on that. I couldn’t find anything about that in the (very complete) documentation.

      posted in Utilities
      T
      Thekk