Verified Commit 0e69b44d authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: feat(Tasks) - lastExec is now UTC

Change lastExec from localTime to UTC.
Showing with 1 addition and 1 deletion
+1 -1
...@@ -112,7 +112,7 @@ class tasks extends simplePlugin ...@@ -112,7 +112,7 @@ class tasks extends simplePlugin
{ {
// Verification if the bool of activation is ticked and activate the last exec accordingly. // Verification if the bool of activation is ticked and activate the last exec accordingly.
if ($this->fdSubTasksActivation === TRUE) { if ($this->fdSubTasksActivation === TRUE) {
$currentDateTime = date("Y-m-d h:i:sa", time()); $currentDateTime = gmdate("Y-m-d h:i:sa", time());
$this->fdTasksLastExec = $currentDateTime; $this->fdTasksLastExec = $currentDateTime;
} }
return parent::save(); return parent::save();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment