mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +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:
parent
997460f12f
commit
2bdf8ae5a2
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