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.

    MMM-Calendar always shows 23:59 if showEndTime: True

    Scheduled Pinned Locked Moved Bug Hunt
    51 Posts 4 Posters 16.6k 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.
    • S Offline
      sdetweil @sdetweil
      last edited by sdetweil

      @SwissChemist can u look at this, your cal, in your timezone, 2.13 no modifications
      showEnd:true,
      maximumEntries:25,
      2.13-german.png

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        SwissChemist
        last edited by SwissChemist

        @sdetweil
        It’s getting better and better, great!

        The only event, which is not correct yet, ist the 3-weekly 13-14. This should be in 21 days (Oct 22nd), exactly like the 3-weekly whole day. The following ones could be better controlled in an absolute time format…

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

          @SwissChemist no… that cal entry says wednesdays, so the 21st, rule wins on exact days, start/end win on time

          BEGIN:VEVENT
          CREATED:20200928T173453Z
          DTEND;TZID=Europe/Zurich:20201001T140000
          DTSTAMP:20200928T182743Z
          DTSTART;TZID=Europe/Zurich:20201001T130000
          LAST-MODIFIED:20200928T182742Z
          RRULE:FREQ=WEEKLY;INTERVAL=3;BYDAY=WE  < -------
          SEQUENCE:0
          SUMMARY:3-weekly 13-14
          UID:A7C8DBD0-0AA9-468B-A3F8-A5F97B797C11
          URL;VALUE=URI:
          END:VEVENT
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            SwissChemist
            last edited by

            Ok, then it’s my error again. In the meantime I have corrected my calendar entry. Would you need a new calenendar export, or would you like to send me your fix to test it here?

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

              @SwissChemist install/upgrade to 2.13, should fix it

              https://github.com/sdetweil/MagicMirror_scripts

              I changed cal entry to TH, now shows 21 days, on the 22nd

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                SwissChemist
                last edited by

                @sdetweil

                now I have corrected my calender entry, but I still cannot see same date for ‘3-weekly whole day’ and ‘3-weekly 13-14’.
                Do you see same date for these events?
                Any idea what I do wrong? Thx very much!
                MagicMirror_201001.JPG

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

                  @SwissChemist what is your config for these entries, so I get the start formatting the same

                  never mind, copied from first entry

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @SwissChemist yeh, I can see the same thing, actually there is a bigger problem… see the time switch standard to daylight
                    something happens , they go from start and end on same day to start one day end the next

                    weekly whole day does, 6th, 13, 20, 26?? 11/2
                    3 weekly happens around that same time, the actual clock is 10-22:22:00:00z

                    but the whole day things look weird… start on one day, and on the next… is that 1 day or 2?
                    all of the whole day events are '2 days actually, start on one day, end on the next

                    one thing on the 3-weekly whole day, you have TH set as the day, if u remove that it works… the rule processor
                    returns a different day depending.

                    will have to examine

                    so, something about the tz switch has messed this up… thanks for great testcase

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil i think I have a test fix, incuding the time correction over dst/std time shift

                      your timezone, all cal entries for whole day changed to 1 day (the 1st of the two listed)

                      Screenshot at 2020-10-02 22-53-13.png

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil
                        I am currently not sure how this will look like after changing from DST(UTC+2) to STD time(UTC+1).
                        For sure this will happen on sunday, 25th of October. That’s why whole day events starting on 26th look differently.
                        But how should it look like today? Oct 26th 01:00 - Oct 27th 00:59???

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 6 / 6
                        • 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