r62348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62347‎ | r62348 | r62349 >
Date:01:12, 12 February 2010
Author:demon
Status:ok (Comments)
Tags:
Comment:
(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.
Modified paths:
  • /trunk/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -1071,7 +1071,7 @@
10721072 }
10731073
10741074 $idCnt = 0;
1075 - $epoch = '20010115161234'; # Wikipedia day
 1075+ $epoch = wfTimestampNow();
10761076 foreach( $dateopts as $key ) {
10771077 if( $key == 'default' ) {
10781078 $formatted = wfMsgHtml( 'datedefault' );

Comments

#Comment by MZMcBride (talk | contribs)   01:16, 12 February 2010

Lame.

Status & tagging log