1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00

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
parent 997460f12f
commit 2bdf8ae5a2

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() {