Comments (2)
That's actually by intention. RFC 5545 states:
The "DTSTART" property defines
the first instance in the recurrence set.
So we've made sure that the first instance iterated is always the start instance.
It also states:
The recurrence set generated with a "DTSTART" property
value not synchronized with the recurrence rule is undefined.
So I think it's ok to handle it like this and I think that's how most other implementations handle it.
We're currently planning a large number of changes for the 1.0 release. One of them could be to make the iteration of an unsynchronized start optional.
from lib-recur.
@mossbauer it's probably too late for you, but I've finally come to the conclusion that it's indeed better to let the recurrence iterator just iterate all actual instances of the rule and inject the start instance at a later stage.
from lib-recur.
Related Issues (20)
- Is it possible to get the time component with an all day DTStart and Until ? HOT 9
- publish with nexus plugin
- Use github actions
- fix codecov badge still pointing to master
- Refactor RecurrenceRule class
- define result of `BYHOUR`, `BYMINUTE` and `BYSECOND` with all-day start date HOT 1
- Improve validation of intervals? HOT 1
- An invalid RRule throws IllegalStateException too many empty recurrence sets HOT 2
- Add support for BYEASTER HOT 1
- fastForward on RecurrenceSet HOT 2
- Question: filtering RecurrenceSet within a given interval HOT 4
- FastForwarded still includes earlier RDATEs if fastForwardTo ≤ DTSTART HOT 2
- RecurrenceRule.setByDayPart doesn't remove BYDAY part when given an empty list HOT 1
- How to determine if the set is infinite? HOT 4
- replace hamcrest with confidence
- Reconsider `RecurrenceSet::isInfinite` method name
- Handling a a logical inconsistency RRULE HOT 5
- Throw custom Exception when too many empty sets were iterated HOT 1
- Optimize Rules
- Feature request, Within include end date flag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lib-recur.