diff --git a/lib/bennu/iCalendar_components.php b/lib/bennu/iCalendar_components.php index 9b9e313572c..83a1e5f573f 100644 --- a/lib/bennu/iCalendar_components.php +++ b/lib/bennu/iCalendar_components.php @@ -411,7 +411,7 @@ class iCalendar_event extends iCalendar_component { // DTEND must be later than DTSTART // The standard is not clear on how to hande different value types though // TODO: handle this correctly even if the value types are different - if($this->properties['DTEND'][0]->value <= $this->properties['DTSTART'][0]->value) { + if($this->properties['DTEND'][0]->value < $this->properties['DTSTART'][0]->value) { return false; } diff --git a/lib/bennu/readme_moodle.txt b/lib/bennu/readme_moodle.txt index e33a956898a..845664cf3c1 100644 --- a/lib/bennu/readme_moodle.txt +++ b/lib/bennu/readme_moodle.txt @@ -8,3 +8,4 @@ modifications: 5/ updated DTEND;TZID and DTSTAR;TZID values to support quotations (7 Nov 2014) 6/ MDL-49032: fixed rfc2445_fold() to fix incorrect RFC2445_WSP definition (16 Sep 2015) 7/ added timestamp_to_date function to support zero duration events (16 Sept 2015) +8/ Updated \iCalendar_event::invariant_holds() to allow for same dtstart and dtend timestamps (13 July 2017)