dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a79442d
)
Merge "Use the user from the context to format the date in Block::getPermissionsError()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 9 Jul 2014 18:18:46 +0000
(18:18 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 9 Jul 2014 18:18:46 +0000
(18:18 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
3896369
..
c393a79
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-1368,7
+1368,7
@@
class Block {
$this->getId(),
$lang->formatExpiry( $this->mExpiry ),
(string)$intended,
- $lang->
timeanddate( wfTimestamp( TS_MW, $this->mTimestamp ), true
),
+ $lang->
userTimeAndDate( $this->mTimestamp, $context->getUser()
),
);
}
}