Index: branches/liquidthreads/extensions/LqtExtension.php |
— | — | @@ -353,6 +353,8 @@ |
354 | 354 | } |
355 | 355 | |
356 | 356 | function showThreadFooter( $thread ) { |
| 357 | + global $wgLang; // TODO global. |
| 358 | + |
357 | 359 | $color_number = $this->selectNewUserColor( $thread->root()->originalAuthor() ); |
358 | 360 | $this->output->addHTML(wfOpenElement('ul', array('class'=>"lqt_footer" ))); |
359 | 361 | |
— | — | @@ -362,8 +364,7 @@ |
363 | 365 | $this->output->addHTML( wfCloseElement( 'li' ) ); |
364 | 366 | |
365 | 367 | $this->output->addHTML( wfOpenElement( 'li' ) ); |
366 | | - $d = new Date($thread->timestamp()); |
367 | | - $this->output->addHTML( $d->lastMonth()->text() ); |
| 368 | + $this->output->addHTML( $wgLang->timeanddate($thread->timestamp()) ); |
368 | 369 | $this->output->addHTML( wfCloseElement( 'li' ) ); |
369 | 370 | |
370 | 371 | $commands = array( 'Edit' => $this->talkpageUrl( $this->title, 'edit', $thread ), |