Page MenuHomePhabricator

D12701.diff
No OneTemporary

D12701.diff

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

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)

Event Timeline