Show absolute block expiry in user timezone on block logs
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 5 Apr 2016 17:11:00 +0000 (19:11 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 9 Apr 2016 18:57:33 +0000 (20:57 +0200)
commitafd72226b86d3f029dcc12aa7d07304da646c60c
tree3d8e9a03be61e2d79901f67d7ac8b24eb2634d26
parent84abebcd939e6bf121228653c19aa8189d18fb5b
Show absolute block expiry in user timezone on block logs

For this add an user parameter to Language::translateBlockExpiry.
This allows the function to display the absolute block expiry in the
user's time zone. Use this when formatting block log entries.

This also avoids the use of $wgUser

Bug: T131241
Change-Id: If0a1d3c88bb4242a016eb9b2df115413de786149
includes/logging/BlockLogFormatter.php
languages/Language.php
languages/classes/LanguageFi.php