From a8f30f18076fceca921f910c9d057eb1aa92f8d4 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 8 Aug 2004 06:58:17 +0000 Subject: [PATCH] Always use the global default date setting for log entries. Fix for [ 897902 ] Deletion log date stamp inconsistent --- includes/LogPage.php | 4 +++- languages/Language.php | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/includes/LogPage.php b/includes/LogPage.php index 1c2aa206a9..09e62946fa 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -125,7 +125,9 @@ class LogPage { } else { $ul = $ut; } - $d = $wgLang->timeanddate( wfTimestampNow(), false ); + + # Use the wiki-wide default date format instead of the user's setting + $d = $wgLang->timeanddate( wfTimestampNow(), false, MW_DATE_DEFAULT ); if( preg_match( "/^(.*?)