1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00

(stable) Set time and date on Calendar Date Control form

Summary: Recurring events will fatal a Calendar with this not set. `newDateTime` requires a date and time to be called property. I think this is correct fix? Fixes T10766

Test Plan: Build a recurring event, pull up /calendar/, see recurring events as expected. Previously, fatal.

Reviewers: lpriestley, epriestley

Reviewed By: epriestley

Subscribers: CodeMouse92, Korvin

Maniphest Tasks: T10766

Differential Revision: https://secure.phabricator.com/D15666
This commit is contained in:
Chad Little 2016-04-09 11:50:16 -07:00 committed by epriestley
parent 908c29cb97
commit 5ddaf52898

View file

@ -279,7 +279,7 @@ final class AphrontFormDateControlValue extends Phobject {
}
public function getDateTime() {
return $this->newDateTime();
return $this->newDateTime($this->valueDate, $this->valueTime);
}
private function getTimezone() {