mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 07:11:02 +00:00
Change the date display
The date display was changed from 'm/d/Y' to 'd.m.Y'
This commit is contained in:
@@ -4574,7 +4574,7 @@ class Automation {
|
||||
$result = mysqli_query($database->dblink,$q);
|
||||
if($result) {
|
||||
$row = mysqli_fetch_assoc($result);
|
||||
$stime = strtotime(START_DATE) - strtotime(date('m/d/Y')) + strtotime(START_TIME);
|
||||
$stime = strtotime(START_DATE) - strtotime(date('d.m.Y')) + strtotime(START_TIME);
|
||||
if($row['lastgavemedal'] == 0 && $stime < time()){
|
||||
$newtime = strtotime('next monday');
|
||||
$q = "UPDATE ".TB_PREFIX."config SET lastgavemedal = ".(int) $newtime;
|
||||
|
||||
Reference in New Issue
Block a user