mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 07:11:02 +00:00
fix: beginner's protection shown wrong date and time in profile picture
This commit is contained in:
@@ -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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user