-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recurring Google Calendar events for times when UTC date differ from local date appear at wrong time in MM #1803
Comments
Can confirm this bug is affecting me too. |
Here's part of the top of my config.js file
Here's the calendar section from my config.js
Here's the iCal code for my test event at 19:30 local, 00:30 UTC, as a non-recurring event, that displayed properly. Note the timestamps in UTC.
Here is the iCal code for the same event, change to recurring weekly, which displays incorrectly in MM. Note the timestamps relative to my time zone, America/Toronto, and the addition of the RRULE tag describing the recurrence. (I've seen other events that use this type of timestamp that seem to work fine in MM.)
Here's the beginning of the iCal curl, which includes the time zone definitions
Hope this is helpful. |
My apologies, actually, it's working fine for me. I can't confirm this issue. My recurring events work find in the core calendar module. I'm having issues with recurring events in MMM-CalendarWeek. I had incorrectly assumed that module used some of the same back-end iCal plumbing as the core module. But it doesn't appear as such. I'm going to log an issue on MMM-CalendarWeek and reference this one. Maybe their code is based on this module so if there's a bug here it snuck into theirs. |
I think I'm experimenting the same issue here. My non-recurring events are showed correctly but my MM (compiled getting the latest code from the repo) the recurring are showing the end date with one hour offset (my timezone is UTC+1). Also I'm using a iCal from Google Calendar. Given a non recurring event starting at 17:00 --> MM shows the start date correctly as "17:00" Maybe this is a duplicate of #1798 ... |
@nerdoug did your problem recently resolve itself? Mine did. The issue I was having with MMM-CaldendarWeek "fixed itself" this past weekend. All recurring events are now showing up again. I wonder if it's related to the weeks-long period where countries shift off DST. |
@tisnatch Just retested, and still have problems with recurring events during the period when my local date is different than UTC date. In this this test, the event in question appeared 6 days later than it should have - on Dec 2 rather than Nov 26. Events an hour before, and an hour after the "UTC date is different period" worked properly. |
So strange. Well, if it helps, I confirm that I was having problems during a one or two week period when the world was shifting off of DST. No doubt, something was screwed up and I tested a few different things. After the DST shift though the dates showed correctly again. |
Duplicate: #1798 |
Platform: Raspi 2, current versions from automatic build of MM as of 2019-10-21.
pi@raspberrypi:~/MagicMirror$ uname -a
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
Node Version: pi@raspberrypi:~/MagicMirror$ node -v
v8.11.1
MagicMirror Version: pi@raspberrypi:~/MagicMirror$ head -3 package.json |tail -2
"name": "magicmirror",
"version": "2.9.0",
Description: The problem concerns Google Calendar events which are recurring, and have a start time in the period at the end of the day local time when the UTC date is different than local time. In this case, the MM calendar display will show the event either 24 hours early, or perhaps not at all in the limited list of events that are displayed.
Steps to Reproduce:
If you live West of Greenwich, England, the PWDD starts at midnight plus the offset for your timezone (which may be negative.) I live near Toronto Canada, and we've just gone back from Daylight Saving time (offset -4) to Standard time (offset -5) so our PWDD now starts at 7PM local time. The PWDD ends at midnight local time for this case.
If you live East of Greenwich England, your PWDD starts at midnight local time, and ends at Midnight plus your UTC offset.
define 4 test events, each 30 minutes long in your Google calendar, with a one week recurrence:
A) 30 minutes before the start of your PWDD
B) 30 minutes after the start of your PWDD
C) 30 minutes before the end of your PWDD
D) 30 minutes after the end of your PWDD
Give MM calendar enough time to update, and check to see how these events appear in the MM calendar. In my testing the events within the PWDD, B) and C) above, are either shown 24 hours early, or not at all.
In Google Calendar, change all 4 events to be non-recurring.
Give MM calendar enough time to update, and check how these events appear in the MM calendar. In my testing, they're always all correctly displayed.
Expected Results:
Event start times in Google Calendar and MM Calendar should agree
Actual Results:
Event start times are incorrect, 24 hours too early, or the event does not appear at all in the limited amount of calendar displayed.
Configuration: Will add this a bit later.
Additional Notes:
-more testing results in issue 1105, after Oct 21.
-glad to provide more files, iCal curls, or do testing
The text was updated successfully, but these errors were encountered: