Change the date display

The date display was changed from 'm/d/Y' to 'd.m.Y'
This commit is contained in:
Vladyslav
2018-05-19 20:52:33 +03:00
parent 37e70a165b
commit a956abee13
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;