From: Brion Vibber Date: Sun, 3 Jul 2005 02:08:12 +0000 (+0000) Subject: * (bug 2658) Fix signature time, localtime to match timezone offset again X-Git-Tag: 1.5.0beta2~71 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=054ef12f514e67c7d822ff08d346c72c007e1796;p=lhc%2Fweb%2Fwiklou.git * (bug 2658) Fix signature time, localtime to match timezone offset again --- 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 );