Problem/Motivation
Setting filter_days_before to zero is supposed to mean "no filtering", but if set to zero the current day's events are filtered out.
Steps to reproduce
filter_days_before is passed unsanitized into ics-parser's iCal, which interprets the setting as "today", so the current day's events are not processed.
If combined with update_non_existent set to "Delete" we're seeing the current day's events deleted.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3577365-filter-days-before.patch | 7.69 KB | karlshea |
Issue fork feeds_ical-3577365
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
karlsheaHere's a patch that applies to 3.1.0—it would be great if the 3.x-dev release was enabled, it's currently not installable with composer.
Comment #4
ben.hamelin@karlshea thanks for this issue and the fix. Let me know if this new dev release works for you: https://www.drupal.org/project/feeds_ical/releases/3.x-dev
MR looks good, I am closing and will cut a new release
Comment #5
ben.hamelinFixed and released with 3.1.1
Comment #7
karlsheaThanks Ben!