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.

    Calendar - Code to show end time of an event

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 3 Posters 1.0k 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.
    • A Offline
      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 Offline
        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

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          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 Offline
            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 Offline
              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy