Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14004727
D12701.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
739 B
Referenced Files
None
Subscribers
None
D12701.diff
View Options
diff --git a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
@@ -428,9 +428,9 @@
$start_month = $this->calendarMonth;
$start_day = $this->calendarDay;
} else {
- $epoch = $query->getParameter('rangeStart');
+ $epoch = $this->getDateFrom($query)->getEpoch();
if (!$epoch) {
- $epoch = $query->getParameter('rangeEnd');
+ $epoch = $this->getDateTo($query)->getEpoch();
if (!$epoch) {
$epoch = time();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 28, 1:46 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6722171
Default Alt Text
D12701.diff (739 B)
Attached To
Mode
D12701: Refactoring CalendarEventSearchEngine to fit new null handling of AphrontFormDateControlValue
Attached
Detach File
Event Timeline
Log In to Comment