dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7da13
)
(bug 17947) Use current date/time on Special:Preferences rather than Wikipedia day...
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 12 Feb 2010 01:12:52 +0000
(
01:12
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 12 Feb 2010 01:12:52 +0000
(
01:12
+0000)
includes/Preferences.php
patch
|
blob
|
history
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
2137f9d
..
2971b99
100644
(file)
--- 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' );