MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Calendar - Code to show end time of an event

    Troubleshooting
    3
    5
    188
    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.
    • A
      AH4x4 last edited by

      Hi,
      Can any point me to the correct section and code that needs changing so that you can see the end time of an event. Currently only getting the noted info below.
      Info is being soured by ical from Google Calendar.
      8b47d06f-ff44-442e-9e6f-f464857014d2-image.png

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

        @ah4x4 add

        showEnd: true, 
        

        before the
        calendars: [] list

        doc says defaults to true, but the code has default as false

        Sam

        Create a working config
        How to add modules

        A 1 Reply Last reply Reply Quote 0
        • A
          AH4x4 @sdetweil last edited by

          @sdetweil
          Hi, yep had the "showEnd: as true but with no luck. Any help on this would be great.

          A 1 Reply Last reply Reply Quote 0
          • A
            AH4x4 @AH4x4 last edited by

            @ah4x4 said in Calendar - Code to show end time of an event:

            @sdetweil
            Hi, yep had the "showEnd: as true but with no luck. Any help on this would be great.

            Ok, found out by changing the timeFormat to ( timeFormat: “absolute”, ) it will give me the below screen short. So now I can get start time and dates PLUS now end time and dates. The issue now is that the coming weeks invites I lose the time and dates and only now get a count down to the event. Anyone got any ideas on how to code in an additional line for the coming weeks events to also show the date and times for start and finish?

            ba7698b0-6f5a-4d84-8ab1-351cf486fd23-image.png

            W 1 Reply Last reply Reply Quote 0
            • W
              wmx @AH4x4 last edited by

              @ah4x4
              I had the same problem which was solved today by @sdetweil. It seems to be a bug, see here how to correct it manually, before it ends in the release:
              https://github.com/MichMich/MagicMirror/issues/2629#issuecomment-899548844

              Second point, if you do not want a countdown but the real dates for future events, set

              urgency: 0
              

              as additional parameter in calender config.
              All the parameters are described here https://docs.magicmirror.builders/modules/calendar.html

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy