Commit 599db53c authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch...

Merge branch '6323-tasks-lastexec-is-performed-on-localtime-and-should-be-set-in-utc-always' into 'dev'

Resolve "[Tasks] - LastExec is performed on localTime and should be set in UTC - always"

See merge request fusiondirectory/fd!1070
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