perf: 修改任务时间日志

This commit is contained in:
kuaifan
2022-02-23 09:58:55 +08:00
parent cb6cf1e34b
commit 10ff02b8a0
3 changed files with 11 additions and 3 deletions

View File

@@ -725,7 +725,7 @@ class ProjectTask extends AbstractModel
}
});
}
$newStringAt = $this->start_at ? ($oldAt[0]->toDateTimeString() . '~' . $oldAt[1]->toDateTimeString()) : '';
$newStringAt = $this->start_at ? ($this->start_at->toDateTimeString() . '~' . $this->end_at->toDateTimeString()) : '';
$this->addLog("修改{任务}时间", [
'change' => [$oldStringAt, $newStringAt]
]);