From 054ef12f514e67c7d822ff08d346c72c007e1796 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 3 Jul 2005 02:08:12 +0000 Subject: [PATCH] * (bug 2658) Fix signature time, localtime to match timezone offset again --- RELEASE-NOTES | 2 ++ includes/Parser.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1e79dcaa12..e181ea18ac 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -447,6 +447,8 @@ Various bugfixes, small features, and a few experimental things: edit area) and &editintro=Page_name (load text of an existing page instead of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bugs 2633, 2672) Fix Estonian, Portuguese and Finnish numeric formatting +* (bug 2658) Fix signature time, localtime to match timezone offset again + === Caveats === diff --git a/includes/Parser.php b/includes/Parser.php index c9947f9684..f2d61ad99a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2794,7 +2794,7 @@ class Parser * everyone the same signiture and use the default one rather * than the one selected in each users preferences. */ - $d = $wgContLang->timeanddate( wfTimestampNow(), false, false) . + $d = $wgContLang->timeanddate( date( 'YmdHis' ), false, false) . ' (' . date( 'T' ) . ')'; if ( isset( $wgLocaltimezone ) ) { putenv( 'TZ='.$oldtz ); -- 2.20.1