Comments (2)
For now, I've found 2 workarounds to this problem:
- Set
$recur_start_at
to "2020-08-31" (the first moment the instance should occur) AND removeBYMONTHDAY=31;
from the recur string. This sets$implicitByMonthDay
totrue
, which triggers the fixLastDayOfMonth logic. - Change the string to use
FREQ=MONTHLY;BYMONTHDAY=-1;INTERVAL=1
, which also triggers the fix.
Considering I seem to be the only one asking about this issue, could this mean that my initial approach on storing the string in combination with the start date is wrong? And if so, what's the correct way to store it?
Thanks.
from recurr.
I'm having this exact issue as well. Library seems to have been abandoned though π
I'm personally going with your 2nd solution @thinckx, but I'm just surgically replacing BYMONTHDAY={29,30,31}
with BYMONTHDAY=-1
in the Rule before generating occurrences when necessary.
from recurr.
Related Issues (20)
- Rule with excludes HOT 3
- Hour 11, interval 15min⦠get random results? HOT 3
- set setEndDate() and setUntil() togther cause date problems HOT 1
- Unable to transform RRule to text when it has a WEEKLY frequency and no BYDAY HOT 1
- Error Undefined offset: -1 HOT 1
- Recurrences by Business/Weekday Day
- Validate against unknown RRULE properties.
- Question: best way to create recurrent events such as: recurring indefinitely form 15 July to 15 October on Tuesday and Wednesday at 10:30
- Invalid parse support of the `EXDATE` attribute
- Modify instead Add inside ArrayTransformer.
- Store Recurr object in SQL database using Symfony/Doctrine HOT 1
- New Feature HOT 1
- Update .gitattributes HOT 4
- How to convert rRule to cron format HOT 1
- RDATE only adds dates without checking if dates are already present - expected behavior?
- Recurring Date Issue HOT 4
- Recurrence by day can be a multi day scope.
- Update doctrine/collections HOT 2
- BYHOUR is not taken into account, when frequency is longer than DAILY HOT 2
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 recurr.