From 75a6bd33768ba34a45f5670799513e9dbb5c4ea9 Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Sat, 9 Jun 2018 16:14:16 +0300 Subject: [PATCH] Change the date display in the treasury --- Templates/Build/27_show.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Templates/Build/27_show.tpl b/Templates/Build/27_show.tpl index fca0e1ca..5aecbdc7 100644 --- a/Templates/Build/27_show.tpl +++ b/Templates/Build/27_show.tpl @@ -19,11 +19,11 @@ $nextEffect = "-"; if($artefact['owner'] == 3) $active = "-"; elseif(!$artefact['active'] && $artefact['conquered'] < $time - $activationTime) $active = "Can't be activated"; -elseif (!$artefact['active']) $active = date("Y-m-d H:i:s", $artefact['conquered'] + $activationTime); +elseif (!$artefact['active']) $active = date("d.m.Y H:i:s", $artefact['conquered'] + $activationTime); else { $active = "".ACTIVE.""; - $nextEffect = date("Y-m-d H:i:s", $artefact['lastupdate'] + (86400 / (SPEED == 2 ? 1.5 : (SPEED == 3 ? 2 : SPEED)))); + $nextEffect = date("d.m.Y H:i:s", $artefact['lastupdate'] + (86400 / (SPEED == 2 ? 1.5 : (SPEED == 3 ? 2 : SPEED)))); } //// Added by brainiac - thank you @@ -124,7 +124,7 @@ $bonus = isset($betterorbadder) ? $betterorbadder." (".str_replace(["(", ")"] - + @@ -166,7 +166,7 @@ foreach($owners as $owner){ [?] - +