phabricator_format_timestamp => phabricator_datetime
Summary: make the change, kill the function. be sure to get a good $user or $viewer variable Test Plan: for each controller or view, look at it in the ui. change timezone, refresh ui and note change. i did not test the OAuthSettingsPanelController; not sure how to get to that badboy and i got a bit lazy Maniphest Tasks: T222 Reviewers: epriestley Reviewed By: epriestley CC: aran, btrahan, epriestley Maniphest Tasks: T222 Differential Revision: 1166
This commit is contained in:
@@ -157,8 +157,8 @@ class PhabricatorProjectProfileController
|
||||
'<p><em>There are no projects attached for such specie.</em></p>';
|
||||
}
|
||||
|
||||
|
||||
$timestamp = phabricator_format_timestamp($project->getDateCreated());
|
||||
$viewer = $this->getRequest()->getUser();
|
||||
$timestamp = phabricator_datetime($project->getDateCreated(), $viewer);
|
||||
$status = PhabricatorProjectStatus::getNameForStatus(
|
||||
$project->getStatus());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user