Page MenuHomePhorge

D5691.1775275395.diff
No OneTemporary

Authored By
Unknown
Size
765 B
Referenced Files
None
Subscribers
None

D5691.1775275395.diff

diff --git a/src/app/Backends/DAV/Vevent.php b/src/app/Backends/DAV/Vevent.php
--- a/src/app/Backends/DAV/Vevent.php
+++ b/src/app/Backends/DAV/Vevent.php
@@ -308,6 +308,10 @@
foreach ($this->vobject->getComponents() as $component) {
if ($component->name == $selfType) {
+ // DTEND MUST be later than DTSTART (RFC5545 3.8.2.2)
+ if ($component->DTSTART->getDateTime() == $component->DTEND->getDateTime()) {
+ unset($component->DTEND);
+ }
if (empty($master) && empty($component->{'RECURRENCE-ID'})) {
$master = $component;
} elseif ($this->uid && $this->uid == $component->UID && !empty($component->{'RECURRENCE-ID'})) {

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 4:03 AM (1 d, 4 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18826292
Default Alt Text
D5691.1775275395.diff (765 B)

Event Timeline