You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calendar module : reccuring annual events appear every month #2547
Annualy reccuring events in Google Calendar appears every month in the calendar module.
See the ICS file bellow, taken directly from Google : it has 1 event that occurs 25 March of each year. But the calendar module display the event on 25 of every month.
Platform : Raspberry Pi 3 MagicMirror Version : 2.15.0
I dont have much knowledge about the ics format, but I tried exporting a yearly date from my google calendar and the RRULE line was like this only: RRULE:FREQ=YEARLY
and everythin looked fine on my MM.
In your ICS file the line is RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;
so probably something in there tells ical/rrule to create more events than you want. MagicMirror itself relies on that and shows these bogus dates therefor.
Could you look into your Google Calendar to see what else is in that date you export?
Well, I don't have much knowledge of the ics format either, but I did some tests :
If I create a new event in Google Calendar, it only has RRULE:FREQ=YEARLY and displays correctly on MM
If I copy the "problematic" event from my girlfirend's (Google) calendar to my own (also Google) calendar, the copied version looks like RRULE:FREQ=YEARLY;WKST=MO and shows correctly on MM
Activity
rejas commentedon Apr 22, 2021
I dont have much knowledge about the ics format, but I tried exporting a yearly date from my google calendar and the RRULE line was like this only:
RRULE:FREQ=YEARLYand everythin looked fine on my MM.
In your ICS file the line is
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;so probably something in there tells ical/rrule to create more events than you want. MagicMirror itself relies on that and shows these bogus dates therefor.
Could you look into your Google Calendar to see what else is in that date you export?
lbalogh commentedon Apr 23, 2021
Well, I don't have much knowledge of the ics format either, but I did some tests :
RRULE:FREQ=YEARLYand displays correctly on MMRRULE:FREQ=YEARLY;WKST=MOand shows correctly on MMSo I don't know where
WKST=MOcomes from in this case (a bug in Google Calendar ?), but I tried to validate theRRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1rule on some online tools, like this one : https://jakubroztocil.github.io/rrule/ and the result is correct : the event only appears 1 time each year. TheWKST=MOseems to be ignoredlbalogh commentedon Apr 23, 2021
Again, after looking more carefully, the RRULE I posted originally (which is taken DIRECTLY from Google Calendar sharing URL) is :
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTHDAY=25So the problem is :
BYMONTHDAY=25I don't know why Google Calendar's export contain this... anyway, the simplest thing to do is asking my gf the recreate these events
rejas commentedon Apr 23, 2021
Yeah, saw that too and was wondering. Anyway, good luck with recreating it. Can this be closed then?
lbalogh commentedon Apr 23, 2021
Yes this can be closed because it's unrelated to MM
OvernightSuccess123 commentedon Aug 24, 2021
Did anyone figure out what is causing this on the Google side?
fix(calendar): keep yearly events in DTSTART's month when BYMONTH is …