MDL-54607 calendar: Update benu lib to allow for instantaneous events
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user