Page MenuHomec4science

DifferentialDateCreatedFieldSpecification.php
No OneTemporary

File Metadata

Created
Mon, Dec 23, 17:42

DifferentialDateCreatedFieldSpecification.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());
}
}

Event Timeline