Merge branch 'MDL-54607-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE

This commit is contained in:
David Monllao
2017-07-17 09:32:07 +02:00
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -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;
}
+1
View File
@@ -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)