Use the local user to get time offset and format, also removed wfTimestamp() call...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 12 Nov 2011 07:30:25 +0000 (07:30 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 12 Nov 2011 07:30:25 +0000 (07:30 +0000)
includes/specials/SpecialAncientpages.php

index 7f037cd..9027374 100644 (file)
@@ -61,7 +61,7 @@ class AncientPagesPage extends QueryPage {
        function formatResult( $skin, $result ) {
                global $wgContLang;
 
-               $d = $this->getLang()->timeanddate( wfTimestamp( TS_MW, $result->value ), true );
+               $d = $this->getLang()->userTimeAndDate( $result->value, $this->getUser() );
                $title = Title::makeTitle( $result->namespace, $result->title );
                $link = Linker::linkKnown(
                        $title,