Skip to content

[BUG]: Wrong month in upcoming node #176

Description

@overlinden

Describe the bug
I have a calendar (google ical) with all birthdays of my contacts. The birthday within the ical is correct but the date in the calendar object returned by the upcoming node is wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Create an annual event in the google calendar
  2. Create a public ical link for that calendar
  3. Add the calendar to the upcoming node
  4. Connect the upcoming node to a debug node and check the message returned

Expected behavior
The dates (startdate and enddate) should math the ones in the calendar.

Screenshots
Node configuration:
Bildschirmfoto vom 2024-04-29 20-22-12

I downloaded the ical file and checked the event section:

BEGIN:VEVENT
DTSTART;VALUE=DATE:20210130
DTEND;VALUE=DATE:20210131
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTHDAY=30
DTSTAMP:20240429T181451Z
UID:coo3ieb16cr3gb9lcpi30b9k6spjab9o74omab9l6or30cj268o3idhm6k@google.com
CREATED:20210124T184900Z
LAST-MODIFIED:20210124T184900Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:xxx yyy Geburtstag 
TRANSP:OPAQUE
END:VEVENT

But the msg looks like:
Bildschirmfoto vom 2024-04-29 20-25-00

**node-red-contrib-ical-events

  • Version 2.2.5
  • node-red version 3.1.9

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions