Read the statement by Michael Teeuw here.
Repeating Google Calendar invites showing up at wrong time
-
I have a recurring Google Calendar Event that is supposed to show up at 18:15 however the calendar shows it at 23:15 instead.
Here is the excerpt from the ICS file.
BEGIN:VEVENT DTSTART;TZID=America/Chicago:20230222T181500 DTEND;TZID=America/Chicago:20230222T191500 RRULE:FREQ=WEEKLY DTSTAMP:20230426T172808Z UID:arhpo9aql0lcctnpcdl0olhevp@google.com CLASS:PUBLIC CREATED:20220901T003716Z DESCRIPTION: LAST-MODIFIED:20230426T170307Z LOCATION: SEQUENCE:2 STATUS:CONFIRMED SUMMARY:6:15 guitar - Sarah TRANSP:OPAQUE END:VEVENT
And here is a picture of the stock calendar module:
Do I just need to recereate those entries or is something else going on?
-
@mholzma what time is your system set to ? we use that as the base for the calendar
-
@sdetweil America/Central. The non repeating invites show up correctly.
-
@mholzma I am on central time too… and I see 18:15
in your config.js change this
logLevel: ["INFO", "LOG", "WARN", "ERROR"],
to this
logLevel: ["INFO", "LOG", "WARN", "ERROR","DEBUG"],
then start your MM like this from the command line (if using pm2, do a pm2 stop all)
npm start >somefile.txt
wait til the calendar is up
then ctrl-m to minimize MM
ctrl-c to stop mmthen edit the somefile.txt
and look for[DEBUG] initial tz=America/Chicago [DEBUG] corrected tz=America/Chicago
let me know…
-
@sdetweil, here is the log data I found and nothing seems off.
[27.04.2023 15:31.17.650] [DEBUG] Event: {**<REDACTED>**} [27.04.2023 15:31.17.650] [DEBUG] start: Thu Feb 23 2023 00:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.650] [DEBUG] end:: Thu Feb 23 2023 01:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.650] [DEBUG] duration: 3600000 [27.04.2023 15:31.17.650] [DEBUG] title: 6:15 guitar - Sarah [27.04.2023 15:31.17.650] [DEBUG] Search for recurring events between: Thu Apr 27 2023 15:31:17 GMT+0000 (GMT) and Thu Apr 25 2024 23:59:59 GMT+0000 (GMT) [27.04.2023 15:31.17.653] [DEBUG] Title: 6:15 guitar - Sarah, with dates: ["2023-05-04T05:15:00.000Z",**<REDACTED>**] [27.04.2023 15:31.17.653] [DEBUG] event.recurrences: undefined [27.04.2023 15:31.17.653] [DEBUG] recurring date is Thu May 04 2023 05:15:00 GMT+0000 (GMT) offset is 0 [27.04.2023 15:31.17.653] [DEBUG] recurring date is Thu May 04 2023 05:15:00 GMT+0000 (GMT) offset is 0 Hour is 05 [27.04.2023 15:31.17.653] [DEBUG] Corrected startDate: Thu May 04 2023 05:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.653] [DEBUG] initial tz=America/Chicago [27.04.2023 15:31.17.653] [DEBUG] corrected tz=America/Chicago [27.04.2023 15:31.17.653] [DEBUG] start date/time=Thu Feb 23 2023 00:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.653] [DEBUG] start offset=-360 [27.04.2023 15:31.17.653] [DEBUG] start date/time w tz =Thu Feb 23 2023 00:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.653] [DEBUG] event date=Thu May 04 2023 05:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.653] [DEBUG] event offset=-300 hour=0 event date=Thu May 04 2023 05:15:00 GMT+0000 (GMT) [27.04.2023 15:31.17.653] [DEBUG] offset [27.04.2023 15:31.17.653] [DEBUG] adjust down 1 hour dst change [27.04.2023 15:31.17.654] [DEBUG] adjustHours=-1 [27.04.2023 15:31.17.654] [DEBUG] duration: 3600000 [27.04.2023 15:31.17.654] [DEBUG] saving event: false
-
@mholzma this is mine
recurring date is Wed May 03 2023 19:15:00 GMT-0500 (Central Daylight Time) offset is 300 [26.04.2023 18:02.26.846] [DEBUG] recurring date is Wed May 03 2023 19:15:00 GMT-0500 (Central Daylight Time) offset is 5 Hour is 19 [26.04.2023 18:02.26.846] [DEBUG] new recurring date2 is Wed May 03 2023 19:15:00 GMT-0500 (Central Daylight Time) [26.04.2023 18:02.26.847] [DEBUG] Corrected startDate: Wed May 03 2023 19:15:00 GMT-0500 (Central Daylight Time) [26.04.2023 18:02.26.847] [DEBUG] initial tz=America/Chicago [26.04.2023 18:02.26.847] [DEBUG] corrected tz=America/Chicago [26.04.2023 18:02.26.847] [DEBUG] start date/time=Wed Feb 22 2023 18:15:00 GMT-0600 (Central Standard Time) [26.04.2023 18:02.26.847] [DEBUG] start offset=-360 [26.04.2023 18:02.26.847] [DEBUG] start date/time w tz =Wed Feb 22 2023 18:15:00 GMT-0600 (Central Standard Time) [26.04.2023 18:02.26.847] [DEBUG] event date=Wed May 03 2023 19:15:00 GMT-0500 (Central Daylight Time) [26.04.2023 18:02.26.847] [DEBUG] event offset=-300 hour=19 event date=Wed May 03 2023 19:15:00 GMT-0500 (Central Daylight Time) [26.04.2023 18:02.26.847] [DEBUG] offset [26.04.2023 18:02.26.847] [DEBUG] adjust down 1 hour dst change [26.04.2023 18:02.26.847] [DEBUG] adjustHours=-1 [26.04.2023 18:02.26.847] [DEBUG] duration: 3600000
which says your system timezone is set to GMT time,
-
@sdetweil, you nailed it! Thank you so much.
I needed to add a timezone environment variable to my docker container. Thank you so much for pointing that out!
Planning to build a display (not smart mirror) for our kitchen and this was the hold up.