fix: beginner's protection shown wrong date and time in profile picture

This commit is contained in:
Martin Ambrus
2017-11-22 19:43:58 +01:00
parent a5422130a0
commit 0b3f689e4c
4 changed files with 105 additions and 83 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
else
{
$tsdiffact = $datetime - $now;
$timetoecho = $timeformat->getTimeFormat($tsdiffact);
$timetoecho = \App\Utils\DateTime::getTimeFormat($tsdiffact);
echo '<img src="../gpack/travian_default/img/new/tick.png" title="Ends: '.date('d.m.Y H:i',$user['protect']+3600*2).'">';
echo "<font color=\"blue\"> $timetoecho</font>";
}