mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 03:42:41 +01:00
ab9556345f
Test Plan: Went to /differential. Reviewers: epriestley, chad Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4415
18 lines
415 B
PHP
18 lines
415 B
PHP
<?php
|
|
|
|
final class DifferentialDateCreatedFieldSpecification
|
|
extends DifferentialFieldSpecification {
|
|
|
|
public function shouldAppearOnRevisionList() {
|
|
return true;
|
|
}
|
|
|
|
public function renderHeaderForRevisionList() {
|
|
return 'Created';
|
|
}
|
|
|
|
public function renderValueForRevisionList(DifferentialRevision $revision) {
|
|
return phabricator_date($revision->getDateCreated(), $this->getUser());
|
|
}
|
|
|
|
}
|