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 events showing on wrong day.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    66 Posts 3 Posters 21.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 @Coolie1101
      last edited by

      @coolie1101 can’t be everything

      cause there are default messages for calendar not shown

      u did add the “DEBUG”, right

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil

        Event: {"type":"VEVENT","params":[],"start":"2021-04-06T09:00:00.000Z","datetype":"date-time","end":"2021-04-06T14:00:00.000Z","dtstamp":"2021-11-19T14:43:09.000Z","uid":"0v89h5cit8nq6m************@google.com","created":"2021-10-26T07:58:43.000Z","description":"","lastmodified":"2021-10-26T08:02:54.000Z","location":"","sequence":"1","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE","recurrences":{"2021-11-02":{"type":"VEVENT","params":[],"start":"2021-11-03T09:00:00.000Z","datetype":"date-time","end":"2021-11-03T14:00:00.000Z","dtstamp":"2021-11-19T14:43:09.000Z","uid":"0v89h5cit8nq6m************@google.com","recurrenceid":"2021-11-02T09:00:00.000Z","created":"2021-10-26T07:58:43.000Z","description":"","lastmodified":"2021-10-26T08:02:54.000Z","location":"","sequence":"2","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE"},"2021-10-12":{"type":"VEVENT","params":[],"start":"2021-10-13T09:00:00.000Z","datetype":"date-time","end":"2021-10-13T14:00:00.000Z","dtstamp":"2021-11-19T14:43:09.000Z","uid":"0v89h5cit8nq6m************@google.com","recurrenceid":"2021-10-12T09:00:00.000Z","created":"2021-10-26T07:58:43.000Z","description":"","lastmodified":"2021-10-26T08:02:54.000Z","location":"","sequence":"2","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE"},"2021-09-07":{"type":"VEVENT","params":[],"start":"2021-09-08T09:00:00.000Z","datetype":"date-time","end":"2021-09-08T14:00:00.000Z","dtstamp":"2021-11-19T14:43:09.000Z","uid":"0v89h5cit8nq6m************@google.com","recurrenceid":"2021-09-07T09:00:00.000Z","created":"2021-10-26T07:58:43.000Z","description":"","lastmodified":"2021-10-26T08:02:54.000Z","location":"","sequence":"2","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE"},"2021-07-06":{"type":"VEVENT","params":[],"start":"2021-07-07T09:00:00.000Z","datetype":"date-time","end":"2021-07-07T14:00:00.000Z","dtstamp":"2021-11-19T14:43:09.000Z","uid":"0v89h5cit8nq6m************@google.com","recurrenceid":"2021-07-06T09:00:00.000Z","created":"2021-10-26T07:58:43.000Z","description":"","lastmodified":"2021-10-26T08:02:54.000Z","location":"","sequence":"2","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE"},"2021-06-01":{"type":"VEVENT","params":[],"start":"2021-06-02T09:00:00.000Z","datetype":"date-time","end":"2021-06-02T14:00:00.000Z","dtstamp":"2021-11-19T14:43:09.000Z","uid":"0v89h5cit8nq6m************@google.com","recurrenceid":"2021-06-01T09:00:00.000Z","created":"2021-10-26T07:58:43.000Z","description":"","lastmodified":"2021-10-26T08:02:54.000Z","location":"","sequence":"2","status":"CONFIRMED","summary":"YARD WASTE","transparency":"OPAQUE"}},"rrule":{"_cache":{"all":false,"before":[],"after":[],"between":[]},"origOptions":{"dtstart":"2021-04-06T09:00:00.000Z","freq":2,"wkst":{"weekday":6},"until":"2021-12-30T04:59:59.000Z","byweekday":[{"weekday":1}]},"options":{"freq":2,"dtstart":"2021-04-06T09:00:00.000Z","interval":1,"wkst":6,"count":null,"until":"2021-12-30T04:59:59.000Z","bysetpos":null,"bymonth":null,"bymonthday":[],"bynmonthday":[],"byyearday":null,"byweekno":null,"byweekday":[1],"bynweekday":null,"byhour":[9],"byminute":[0],"bysecond":[0],"byeaster":null}}}
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Coolie1101
          last edited by

          @coolie1101 unless u didn’t stop pm2 running instance

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

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

            unless u didn’t stop pm2 running instance

            I did, “pm2 stop all”, then “npm start file_name.txt”

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

            u did add the “DEBUG”, right

            Yes.
            ```
            language: “en”,
            locale: “en-US”,
            logLevel: [“INFO”, “LOG”, “WARN”,“ERROR”,“DEBUG”], // Add “DEBUG” for even more logging
            timeFormat: 24,
            units: “imperial”,

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

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

              “npm start file_name.txt”

              and with the > symbol

              npm start > file_name.txt

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil So I deleted the entry for that day and added back just for that day, it shows up correct in the display but the following events still shows a day late.

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

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

                  but the following events still shows a day late.

                  so, I need to see THAT vevent

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  Coolie1101C 1 Reply Last reply Reply Quote 0
                  • S Offline
                    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

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • Coolie1101C Offline
                      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 Offline
                        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

                        How to add modules

                        learning how to use browser developers window for css changes

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