Something went wrong while setting issue due date.
[Tasks] - LastExec is performed on localTime and should be set in UTC - always
Closed
[Tasks] - LastExec is performed on localTime and should be set in UTC - always
[Tasks] - LastExec is performed on localTime and should be set in UTC - always\
function save (): array
{
// Verification if the bool of activation is ticked and activate the last exec accordingly.
if ($this->fdSubTasksActivation === TRUE) {
$currentDateTime = date("Y-m-d h:i:sa", time());
$this->fdTasksLastExec = $currentDateTime;
}
return parent::save();
}
It should be gmdate instead of date. Date object only takes localTime by default.