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 @@
1072
1072
}
1073
1073
1074
1074
$idCnt = 0;
1075
- $epoch = '20010115161234'; # Wikipedia day
1075
+ $epoch = wfTimestampNow();
1076
1076
foreach( $dateopts as $key ) {
1077
1077
if( $key == 'default' ) {
1078
1078
$formatted = wfMsgHtml( 'datedefault' );
Comments
#
Comment by
MZMcBride
(
talk
|
contribs
)
01:16, 12 February 2010
Lame.
Status & tagging log
06:56, 19 February 2010
Tim Starling
(
talk
|
contribs
)
changed the
status
of r62348
[
removed:
new
added:
ok]