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.

    Default Calendar optimization: suggestions?

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 711 Views 3 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.
    • lavolp3L Offline
      lavolp3 Module Developer
      last edited by

      Hi all,
      I am currently putting some work into the default calendar module and making quite some changes, because there are some odd things showing up here and there.

      Basically there have been some glitches in giving events absolute or relative dates, depending on the timeFormat chosen and the event being at very specific times in the future.

      However there’s one thing that really annoys me and that is the results you get if you activate “showEnd”
      Examples:

      Relative mode with showEnd activated:

      Anyevent        &nbspin 2 days - 17:00
      Anyevent2     &nbspin 3 days - 22:00

      Absolute mode with getrelative and showEnd activated:

      Anyevent        &nbsp in 1 hour - 22:00
      Anyevent 2       &nbspWed, 24.02. - 17.00

      Printing an end time without a start time here does not make any sense imo.
      So I was thinking “OK add a start time then” (that’s done in my fork) but is that a good solution? I’m not sure. You can also add the start time of an event to the dateFormat config entry but then it won’t work if it’s getting relative.

      Has anyone already thought about this or does anyone have any suggestions how to deal with this?

      Happy about any contributions!

      Thanks,
      Dirk

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @lavolp3
        last edited by

        @lavolp3
        My MMM-CalendarExt2 supports various formats. You can get some idea from it.

        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