From: Chad Horohoe Date: Fri, 12 Feb 2010 01:12:52 +0000 (+0000) Subject: (bug 17947) Use current date/time on Special:Preferences rather than Wikipedia day... X-Git-Tag: 1.31.0-rc.0~37805 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=aa42646054b1e3616380a332d4420ee349e77c38;p=lhc%2Fweb%2Fwiklou.git (bug 17947) Use current date/time on Special:Preferences rather than Wikipedia day. It has been pointed out that an arbitrary date can be confusing for users on a different calendar system. Wikipedia day is cute, but not useful. --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 2137f9d861..2971b9924b 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -1071,7 +1071,7 @@ class Preferences { } $idCnt = 0; - $epoch = '20010115161234'; # Wikipedia day + $epoch = wfTimestampNow(); foreach( $dateopts as $key ) { if( $key == 'default' ) { $formatted = wfMsgHtml( 'datedefault' );