mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-20 10:48:40 +01:00
Test Plan: Went to /differential. Reviewers: epriestley, chad Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4415
18 lines
421 B
PHP
18 lines
421 B
PHP
<?php
|
|
|
|
final class DifferentialDateModifiedFieldSpecification
|
|
extends DifferentialFieldSpecification {
|
|
|
|
public function shouldAppearOnRevisionList() {
|
|
return true;
|
|
}
|
|
|
|
public function renderHeaderForRevisionList() {
|
|
return 'Updated';
|
|
}
|
|
|
|
public function renderValueForRevisionList(DifferentialRevision $revision) {
|
|
return phabricator_datetime($revision->getDateModified(), $this->getUser());
|
|
}
|
|
|
|
}
|