- Issue created by @ruslan piskarov
- Merge request !40Issue #3030603 by dpi, vidorado, kevinc_, acbramley, drenton, codebymikey:... β (Closed) created by ruslan piskarov
- Status changed to Needs work
10 months ago 1:46pm 12 February 2024 - πΊπ¦Ukraine ruslan piskarov Kyiv, Ukraine
Created an initial patch. Not sure that is the best solution because I am not familiar with date_recur module. Still need to work, create tests, etc.
- π¦πΊAustralia dpi Perth, Australia
getOccurrences shouldnt ignore exdates, its passed along in the RRULE in
create()
at\Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::getHelper
.A date will only be excluded if the exdate exactly matches the start date of an occurrence. A date might not get excluded, particularly if the timezones do not match.
In your example, your timezone would have to be UTC+4.
If this is still the case, I'm not sure its the problem with DR, as computation happens with in the library.
if it was a problem with this project, it would certainly not be an isssue with the formatter (per your MR), the issue would lie somewhere between DateRecurItem-DateRecurHelper-Helpers.
If your field happens to be date-only, then its probably: π EXDATE not excluding dates in only-date recurring fields Active , where exdates would have to be MIDDAY.
- Status changed to Closed: outdated
28 days ago 11:28am 5 November 2024