Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15457575
D16690.id40180.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16690.id40180.diff
View Options
diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
--- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
@@ -1057,6 +1057,10 @@
->setType('string')
->setDescription(pht('The event description.')),
id(new PhabricatorConduitSearchFieldSpecification())
+ ->setKey('isAllDay')
+ ->setType('bool')
+ ->setDescription(pht('True if the event is an all day event.')),
+ id(new PhabricatorConduitSearchFieldSpecification())
->setKey('startDateTime')
->setType('datetime')
->setDescription(pht('Start date and time of the event.')),
@@ -1074,7 +1078,7 @@
return array(
'name' => $this->getName(),
'description' => $this->getDescription(),
- 'isAllDay' => $this->getIsAllDay(),
+ 'isAllDay' => (bool)$this->getIsAllDay(),
'startDateTime' => $this->getConduitDateTime($start_datetime),
'endDateTime' => $this->getConduitDateTime($end_datetime),
);
@@ -1097,7 +1101,7 @@
->overrideTimezoneIdentifier($this->viewerTimezone);
return array(
- 'epoch' => $epoch,
+ 'epoch' => (int)$epoch,
'display' => array(
'default' => phabricator_datetime($epoch, $viewer),
),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 31, 5:17 PM (6 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704385
Default Alt Text
D16690.id40180.diff (1 KB)
Attached To
Mode
D16690: Force a couple of Conduit results to the proper types in Calendar
Attached
Detach File
Event Timeline
Log In to Comment