@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refactoring CalendarEventSearchEngine to fit new null handling of AphrontFormDateControlValue

Summary: Ref T4393, Refactoring CalendarEventSearchEngine to fit new null handling of AphrontFormDateControlValue

Test Plan: Use calendar query for day view, expect no php errors

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T4393

Differential Revision: https://secure.phabricator.com/D12701

+2 -2
+2 -2
src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
··· 428 428 $start_month = $this->calendarMonth; 429 429 $start_day = $this->calendarDay; 430 430 } else { 431 - $epoch = $query->getParameter('rangeStart'); 431 + $epoch = $this->getDateFrom($query)->getEpoch(); 432 432 if (!$epoch) { 433 - $epoch = $query->getParameter('rangeEnd'); 433 + $epoch = $this->getDateTo($query)->getEpoch(); 434 434 if (!$epoch) { 435 435 $epoch = time(); 436 436 }