MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Calendar events showing on wrong day.

    Troubleshooting
    3
    66
    341
    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
      sdetweil @Coolie1101 last edited by

      @coolie1101 if you just do

      in the MagicMirror folder

      npm start

      you should have a stream of stuff so fast u can’t read

      Sam

      Create a working config
      How to add modules

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

        @sdetweil said in Calendar events showing on wrong day.:

        so, I need to see THAT vevent

        BEGIN:VEVENT
        DTSTART:20211123T100000Z
        DTEND:20211123T150000Z
        DTSTAMP:20211119T151956Z
        UID:0g4190e8en06vs************@google.com
        CREATED:20211119T151237Z
        DESCRIPTION:
        LAST-MODIFIED:20211119T151237Z
        LOCATION:
        SEQUENCE:0
        STATUS:CONFIRMED
        SUMMARY:YARD WASTE
        TRANSP:OPAQUE
        END:VEVENT
        

        @sdetweil said in Calendar events showing on wrong day.:

        you should have a stream of stuff so fast u can’t read

        There’s no output in the ssh window except for the following.

        pi@magicmirror:~/MagicMirror $ npm start >cal_test_debug_log.txt
        [19.11.2021 10:25.12.563] [WARN]  (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled.  This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation.  We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure
        [19.11.2021 10:25.13.777] [ERROR] ERROR! Could not find main module js file for MMM-GABackground
        
        S 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @Coolie1101 last edited by sdetweil

          @coolie1101 correct, you are sending all the output to the file (except the stuff to stderr)

          if you remove everything from the > on you’ll get the output to the ssh window, BUT it will be so big, the top will scroll off and be lost… (which is why we are sending to a file)

          Sam

          Create a working config
          How to add modules

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

            @sdetweil Got it, I didn’t realize the file continued on, it’s 2,486kb, which part do you need?

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

              @coolie1101 see this post

              https://forum.magicmirror.builders/topic/15878/calendar-events-showing-on-wrong-day/28?_=1636916667651

              from processing entry thru saving for the vevent that is the problem

              maybe 20-30 lines

              Sam

              Create a working config
              How to add modules

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

                @sdetweil

                Event: {"type":"VEVENT","params":[],"start":"2021-11-23T10:00:00.000Z","datetype":"date-time","end":"2021-11-23T15:00:00.000Z","dtstamp":"2021-11-19T15:25:46.000Z","uid":"0g4190e8en06vs************@google.com","created":"2021-11-19T15:12:37.000Z","description":"","lastmodified":"2021-11-19T15:12:37.000Z","location":"","sequence":"0","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE"}
                [19.11.2021 10:26.06.439] [DEBUG] startDate (local): Tue Nov 23 2021 05:00:00 GMT-0500 (Eastern Standard Time)
                [19.11.2021 10:26.06.440] [DEBUG] endDate (local): Tue Nov 23 2021 10:00:00 GMT-0500 (Eastern Standard Time)
                [19.11.2021 10:26.06.442] [DEBUG] duration: 18000000
                [19.11.2021 10:26.06.443] [DEBUG] title: YARD WASTE
                [19.11.2021 10:26.06.465] [DEBUG] initial tz=Etc/UTC
                [19.11.2021 10:26.06.474] [DEBUG] corrected tz=Etc/UTC
                [19.11.2021 10:26.06.478] [DEBUG] start date/time=Tue Nov 23 2021 05:00:00 GMT-0500 (Eastern Standard Time)
                [19.11.2021 10:26.06.492] [DEBUG] start offset=0
                [19.11.2021 10:26.06.495] [DEBUG] start date/time w tz =Tue Nov 23 2021 05:00:00 GMT-0500 (Eastern Standard Time)
                [19.11.2021 10:26.06.498] [DEBUG] event date=Tue Nov 23 2021 05:00:00 GMT-0500 (Eastern Standard Time)
                [19.11.2021 10:26.06.500] [DEBUG] event offset=0 hour=10 event date=Tue Nov 23 2021 05:00:00 GMT-0500 (Eastern Standard Time)
                [19.11.2021 10:26.06.514] [DEBUG] adjustHours=0
                [19.11.2021 10:26.06.523] [DEBUG] Processing entry...
                [19.11.2021 10:26.06.527] [DEBUG]
                
                [19.11.2021 10:26.08.304] [DEBUG] Title: YARD WASTE, with dates: ["2021-11-23T09:00:00.000Z","2021-11-30T09:00:00.000Z","2021-12-07T09:00:00.000Z","2021-12-14T09:00:00.000Z","2021-12-21T09:00:00.000Z","2021-12-28T09:00:00.000Z"]
                

                The one in question at the moment is ““2021-11-30T09:00:00.000Z”” which display’s as 2021-12-01

                S 2 Replies Last reply Reply Quote 0
                • S
                  sdetweil @Coolie1101 last edited by

                  @coolie1101 yes that’s what the correction should enable

                  05:00 ny, +4 (now est) =09:00 utc time

                  Sam

                  Create a working config
                  How to add modules

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

                    @coolie1101 but there is no time zone set in the appointment

                    Sam

                    Create a working config
                    How to add modules

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

                      @sdetweil said in Calendar events showing on wrong day.:

                      but there is no time zone set in the appointment

                      It shows as set in the calendar itself?

                      58c72fe2-b130-4c7d-8dea-3a0b6d3bef9a-image.png

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

                        @coolie1101 yes, BUT it doesn’t show in the ics file…

                        anyhow…

                        show me the next entry from the debug output

                        or send me the debug output file via email

                        same userid at gmail

                        Sam

                        Create a working config
                        How to add modules

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