Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15308277
D16767.id40380.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
492 B
Referenced Files
None
Subscribers
None
D16767.id40380.diff
View Options
diff --git a/src/parser/calendar/data/PhutilCalendarEventNode.php b/src/parser/calendar/data/PhutilCalendarEventNode.php
--- a/src/parser/calendar/data/PhutilCalendarEventNode.php
+++ b/src/parser/calendar/data/PhutilCalendarEventNode.php
@@ -75,7 +75,8 @@
->setDuration($duration);
}
- return null;
+ // If no end date or duration are specified, the event is instantaneous.
+ return $start;
}
public function setDuration(PhutilCalendarDuration $duration) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 6:04 AM (4 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7317729
Default Alt Text
D16767.id40380.diff (492 B)
Attached To
Mode
D16767: Fix an issue importing instantaneous events
Attached
Detach File
Event Timeline
Log In to Comment