Use the user from the context to format the date in Block::getPermissionsError()
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Tue, 8 Jul 2014 20:13:01 +0000 (22:13 +0200)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Tue, 8 Jul 2014 20:13:01 +0000 (22:13 +0200)
commitc915c406c153939f08060c7b56ab55e7b478fe4e
treee13176dff3d7b8267121c97c915446b231dc932f
parentb423e290cc9f74723f18b75c946655a82d0bef3f
Use the user from the context to format the date in Block::getPermissionsError()

Language::timeanddate() uses $wgUser to get the time correction and the
format to use.

Change-Id: I7dee3ae523d99aec7b36a317612a61376cf26d21
includes/Block.php