• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 19.3k 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 Away
    sdetweil @Coolie1101
    last edited by Nov 19, 2021, 2:34 PM

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

    Will it work like this

    no…

    something like this (couple debug lines added for my testing)

    [19.11.2021 07:50.24.603] [DEBUG] Processing entry...
    [19.11.2021 07:50.24.603] [DEBUG] 
    Event: {"type":"VEVENT","params":[],"start":"2021-04-06T09:00:00.000Z","datetype":"date-time","end":"2021-04-06T14:00:00.000Z","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}},"dtstamp":"2021-11-19T12:42:16.000Z","uid":"0v89h5cit8nq6mfribble@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"}
    [19.11.2021 07:50.24.603] [DEBUG] startDate (local): Tue Apr 06 2021 04:00:00 GMT-0500 (Central Daylight Time)
    [19.11.2021 07:50.24.603] [DEBUG] endDate (local): Tue Apr 06 2021 09:00:00 GMT-0500 (Central Daylight Time)
    [19.11.2021 07:50.24.604] [DEBUG] duration: 18000000
    [19.11.2021 07:50.24.604] [DEBUG] title: YARD WASTE
    [19.11.2021 07:50.24.604] [DEBUG] Search for recurring events between: Fri Nov 19 2021 07:50:24 GMT-0600 (Central Standard Time) and Fri Nov 18 2022 23:59:59 GMT-0600 (Central Standard Time)
    [19.11.2021 07:50.24.605] [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"]
    [19.11.2021 07:50.24.605] [DEBUG] event.recurrences: undefined
    [19.11.2021 07:50.24.605] [DEBUG]  recurring date is Tue Nov 23 2021 03:00:00 GMT-0600 (Central Standard Time) offset is 360
    [19.11.2021 07:50.24.605] [DEBUG]  recurring date is Tue Nov 23 2021 03:00:00 GMT-0600 (Central Standard Time) offset is 6 Hour is 03
    [19.11.2021 07:50.24.606] [DEBUG] not full day
    [19.11.2021 07:50.24.606] [DEBUG] offset positive
    [19.11.2021 07:50.24.606] [DEBUG] Corrected startDate (local): Tue Nov 23 2021 03:00:00 GMT-0600 (Central Standard Time)
    [19.11.2021 07:50.24.606] [DEBUG] initial tz=America/New_York
    [19.11.2021 07:50.24.606] [DEBUG] corrected tz=America/New_York
    [19.11.2021 07:50.24.606] [DEBUG] start date/time=Tue Apr 06 2021 04:00:00 GMT-0500 (Central Daylight Time)
    [19.11.2021 07:50.24.606] [DEBUG] start offset=-240
    [19.11.2021 07:50.24.606] [DEBUG] start date/time w tz =Tue Apr 06 2021 04:00:00 GMT-0500 (Central Daylight Time)
    [19.11.2021 07:50.24.606] [DEBUG] event date=Tue Nov 23 2021 03:00:00 GMT-0600 (Central Standard Time)
    [19.11.2021 07:50.24.606] [DEBUG] event offset=-300 hour=4 event date=Tue Nov 23 2021 03:00:00 GMT-0600 (Central Standard Time)
    [19.11.2021 07:50.24.606] [DEBUG] offset
    [19.11.2021 07:50.24.606] [DEBUG] adjust up 1 hour dst change
    [19.11.2021 07:50.24.606] [DEBUG] adjustHours=1
    [19.11.2021 07:50.24.606] [DEBUG] duration: 18000000
    [19.11.2021 07:50.24.607] [DEBUG] saving event: false
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    C 1 Reply Last reply Nov 19, 2021, 2:38 PM Reply Quote 0
    • C Offline
      Coolie1101 @sdetweil
      last edited by Nov 19, 2021, 2:38 PM

      @sdetweil It’s running, how long should I wait before checking the output file?, as there is no output in the ssh window.

      S 1 Reply Last reply Nov 19, 2021, 2:41 PM Reply Quote 0
      • S Away
        sdetweil @Coolie1101
        last edited by sdetweil Nov 19, 2021, 2:41 PM Nov 19, 2021, 2:41 PM

        @coolie1101 til the calendar comes up with the wrong displayed info

        then ctrl-c to end

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Nov 19, 2021, 2:49 PM Reply Quote 0
        • C Offline
          Coolie1101 @sdetweil
          last edited by Nov 19, 2021, 2:49 PM

          @sdetweil Here’s the out in the file.

          > magicmirror@2.17.1 start /home/pi/MagicMirror
          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
          
          [19.11.2021 09:42.53.017] [LOG]   Starting MagicMirror: v2.17.1
          [19.11.2021 09:42.53.028] [LOG]   Loading config ...
          [19.11.2021 09:42.53.041] [LOG]   Loading module helpers ...
          [19.11.2021 09:42.53.456] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.53.458] [LOG]   Module helper loaded: MMM-Remote-Control
          [19.11.2021 09:42.53.461] [LOG]   No helper found for module: alert.
          [19.11.2021 09:42.53.469] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.53.471] [LOG]   Module helper loaded: updatenotification
          [19.11.2021 09:42.53.472] [LOG]   No helper found for module: clock.
          [19.11.2021 09:42.53.782] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.53.784] [LOG]   Module helper loaded: calendar
          [19.11.2021 09:42.55.195] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.55.196] [LOG]   Module helper loaded: MMM-TelegramBot
          [19.11.2021 09:42.55.203] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.55.204] [LOG]   Module helper loaded: MMM-Detector
          [19.11.2021 09:42.55.987] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.55.997] [LOG]   Module helper loaded: MMM-GoogleAssistant
          [19.11.2021 09:42.55.999] [LOG]   No helper found for module: MMM-JokeAPI.
          [19.11.2021 09:42.56.001] [LOG]   No helper found for module: weather.
          [19.11.2021 09:42.56.181] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.56.183] [LOG]   Module helper loaded: MMM-Tools
          [19.11.2021 09:42.56.900] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.56.902] [LOG]   Module helper loaded: MMM-MotionDisplay
          [19.11.2021 09:42.56.955] [LOG]   Initializing new module helper ...
          [19.11.2021 09:42.56.957] [LOG]   Module helper loaded: newsfeed
          [19.11.2021 09:42.56.958] [LOG]   All module helpers loaded.
          [19.11.2021 09:42.57.123] [LOG]   Starting server on port 8080 ...
          [19.11.2021 09:42.57.139] [LOG]   Server started ...
          [19.11.2021 09:42.57.142] [LOG]   Connecting socket for: MMM-Remote-Control
          [19.11.2021 09:42.57.144] [LOG]   Starting node helper for: MMM-Remote-Control
          [19.11.2021 09:42.57.157] [LOG]   Connecting socket for: updatenotification
          [19.11.2021 09:42.57.159] [LOG]   Connecting socket for: calendar
          [19.11.2021 09:42.57.161] [LOG]   Starting node helper for: calendar
          [19.11.2021 09:42.57.163] [LOG]   Connecting socket for: MMM-TelegramBot
          
          S 1 Reply Last reply Nov 19, 2021, 2:53 PM Reply Quote 0
          • S Away
            sdetweil @Coolie1101
            last edited by Nov 19, 2021, 2:53 PM

            @coolie1101 there should be lots more

            I only need to see the processing of that one cal entry

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 2 Replies Last reply Nov 19, 2021, 2:57 PM Reply Quote 0
            • C Offline
              Coolie1101 @sdetweil
              last edited by Nov 19, 2021, 2:57 PM

              @sdetweil That’s everything in the file, I did tail the file, but the out is alot.

              S 2 Replies Last reply Nov 19, 2021, 3:04 PM Reply Quote 0
              • S Away
                sdetweil @Coolie1101
                last edited by Nov 19, 2021, 3:04 PM

                @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
                • C Offline
                  Coolie1101 @sdetweil
                  last edited by Nov 19, 2021, 3:05 PM

                  @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 Away
                    sdetweil @Coolie1101
                    last edited by Nov 19, 2021, 3:05 PM

                    @coolie1101 unless u didn’t stop pm2 running instance

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 2 Replies Last reply Nov 19, 2021, 3:08 PM Reply Quote 0
                    • C Offline
                      Coolie1101 @sdetweil
                      last edited by Nov 19, 2021, 3:08 PM

                      @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 Nov 19, 2021, 3:16 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      4 / 7
                      • First post
                        32/66
                        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