Index: trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | } |
17 | 17 | |
18 | 18 | public function execute( $par ) { |
19 | | - global $wgUser, $wgOut, $wgRequest, $wgArticleFeedbackDashboard; |
| 19 | + global $wgUser, $wgOut, $wgRequest, $wgLang, $wgArticleFeedbackDashboard; |
20 | 20 | |
21 | 21 | $wgOut->addModules( 'ext.articleFeedback.dashboard' ); |
22 | 22 | $this->setHeaders(); |
— | — | @@ -30,10 +30,10 @@ |
31 | 31 | $lows = $this->getDailyLows( $highs_lows ); |
32 | 32 | |
33 | 33 | //render daily highs table |
34 | | - $this->renderDailyHighsAndLows( $highs, wfMsg( 'articleFeedback-table-caption-dailyhighs', date( 'Y-m-d' ))); |
| 34 | + $this->renderDailyHighsAndLows( $highs, wfMsg( 'articleFeedback-table-caption-dailyhighs', $wgLang->date( time() ))); |
35 | 35 | |
36 | 36 | //render daily lows table |
37 | | - $this->renderDailyHighsAndLows( $lows, wfMsg( 'articleFeedback-table-caption-dailylows', date( 'Y-m-d' ))); |
| 37 | + $this->renderDailyHighsAndLows( $lows, wfMsg( 'articleFeedback-table-caption-dailylows', $wgLang->date( time() ))); |
38 | 38 | |
39 | 39 | /* |
40 | 40 | This functionality does not exist yet. |