Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -37,6 +37,7 @@ |
38 | 38 | 'code-field-path' => 'Path', |
39 | 39 | 'code-field-text' => 'Note', |
40 | 40 | 'code-rev-author' => 'Author:', |
| 41 | + 'code-rev-date' => 'Date:', |
41 | 42 | 'code-rev-message' => 'Comment:', |
42 | 43 | 'code-rev-repo' => 'Repository:', |
43 | 44 | 'code-rev-rev' => 'Revision:', |
Index: trunk/extensions/CodeReview/CodeRevisionView.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | } |
16 | 16 | |
17 | 17 | function execute(){ |
18 | | - global $wgOut, $wgUser; |
| 18 | + global $wgOut, $wgUser, $wgLang; |
19 | 19 | if( !$this->mRepo || !$this->mRev ) { |
20 | 20 | $view = new CodeRepoListView(); |
21 | 21 | $view->execute(); |
— | — | @@ -41,6 +41,7 @@ |
42 | 42 | $fields = array( |
43 | 43 | 'code-rev-repo' => $repoLink, |
44 | 44 | 'code-rev-rev' => $revText, |
| 45 | + 'code-rev-date' => $wgLang->timeanddate( $this->mRev->getTimestamp() ), |
45 | 46 | 'code-rev-author' => $this->authorLink( $this->mRev->getAuthor() ), |
46 | 47 | 'code-rev-status' => $this->statusForm(), |
47 | 48 | 'code-rev-message' => $this->formatMessage( $this->mRev->getMessage() ), |