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
error: Unable to generate daily stats. Transaction failed. Error: Unsupported RFC prop EXDATE in EXDATE;TZID=America/New_York:20180921T130000
at parseLine (/xxx/functions/node_modules/rrule/dist/es5/rrule.js:1004:19)
at Array.map (<anonymous>)
at Function.parseString (/xxx/functions/node_modules/rrule/dist/es5/rrule.js:972:41)
at Function.RRule.fromString (/xxx/functions/node_modules/rrule/dist/es5/rrule.js:2006:32)
at RecurrenceWorker.getRRule (/xxx/functions/lib/src/algorithm/workers/recurrenceWorker.js:81:40)
at RecurrenceWorker.between (/xxx/functions/lib/src/algorithm/workers/recurrenceWorker.js:20:29)
at RecurrenceWorker.getStartEndArrayFromRecurrence (/xxx/functions/lib/src/algorithm/workers/recurrenceWorker.js:52:29)
at AvailableTimeForTasksWorker.calculateMinutesTakenByRecurringEvent (/xxx/functions/lib/src/stats/workers/availableTimeForTasksWorker.js:170:60)
at AvailableTimeForTasksWorker.<anonymous> (/xxx/functions/lib/src/stats/workers/availableTimeForTasksWorker.js:67:43)
at Generator.next (<anonymous>)
The version of rrule you are using: 2.6.0
Your operating system: no idea, the code is executed by Google Firebase
Isn't EXDATE string valid? It comes from Google Calendar
The text was updated successfully, but these errors were encountered:
It's not valid in the RFC for EXDATE to have a different TZID from DTSTART. However, it should still parse. The problem is fromString only deals with RRule (and not RRuleSet); the RRule class doesn't support the EXDATE prop; you need to use rrulestr in order to support RRuleSet props like EXDATE.
Reporting an issue
Thank you for taking an interest in
rrule
! Please include the following inyour report:
creating a new one
are using such as the exact RRule string and dates.
The lib is unable to parse this rule:
The error is:
rrule
you are using: 2.6.0Isn't EXDATE string valid? It comes from Google Calendar
The text was updated successfully, but these errors were encountered: