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

Use dateModified for Answer headers in Ponder

Summary: Fixes T9226, shows the update time, not the creation time.

Test Plan: Update an answer, see new date.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T9226

Differential Revision: https://secure.phabricator.com/D13945
This commit is contained in:
Chad Little 2015-08-20 08:24:57 -07:00
parent 167eb9a256
commit b35f538bc4

View file

@ -79,7 +79,7 @@ final class PonderAnswerView extends AphrontTagView {
$header = id(new PHUIHeaderView()) $header = id(new PHUIHeaderView())
->setUser($viewer) ->setUser($viewer)
->setEpoch($answer->getDateCreated()) ->setEpoch($answer->getDateModified())
->setHeader($handle->getName()) ->setHeader($handle->getName())
->addActionLink($action_button) ->addActionLink($action_button)
->setImage($handle->getImageURI()) ->setImage($handle->getImageURI())