mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 17:52:43 +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:
parent
908c29cb97
commit
5ddaf52898
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue