* (bug 2658) Fix signature time, localtime to match timezone offset again
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Jul 2005 02:08:12 +0000 (02:08 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Jul 2005 02:08:12 +0000 (02:08 +0000)
RELEASE-NOTES
includes/Parser.php

index 1e79dca..e181ea1 100644 (file)
@@ -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 ===
 
index c9947f9..f2d61ad 100644 (file)
@@ -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 );