Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117780677
D5691.1775247562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
765 B
Referenced Files
None
Subscribers
None
D5691.1775247562.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 8:19 PM (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18826292
Default Alt Text
D5691.1775247562.diff (765 B)
Attached To
Mode
D5691: Drop DTEND if DTSTART and DTEND are the same
Attached
Detach File
Event Timeline