(bug 17947) Use current date/time on Special:Preferences rather than Wikipedia day...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 12 Feb 2010 01:12:52 +0000 (01:12 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 12 Feb 2010 01:12:52 +0000 (01:12 +0000)
includes/Preferences.php

index 2137f9d..2971b99 100644 (file)
@@ -1071,7 +1071,7 @@ class Preferences {
                        }
 
                        $idCnt = 0;
-                       $epoch = '20010115161234'; # Wikipedia day
+                       $epoch = wfTimestampNow();
                        foreach( $dateopts as $key ) {
                                if( $key == 'default' ) {
                                        $formatted = wfMsgHtml( 'datedefault' );