From 05a43a461ca2f332a465f4dd36b9b0a103eb51e2 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 12 Nov 2011 07:30:25 +0000 Subject: [PATCH] Use the local user to get time offset and format, also removed wfTimestamp() call since this is already done in the function --- includes/specials/SpecialAncientpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialAncientpages.php b/includes/specials/SpecialAncientpages.php index 7f037cd59b..90273747c4 100644 --- a/includes/specials/SpecialAncientpages.php +++ b/includes/specials/SpecialAncientpages.php @@ -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, -- 2.20.1