* Change the begin time of todo to undefined for MR.

This commit is contained in:
dingguodong
2021-09-15 13:29:30 +08:00
parent ededa035c9
commit be3dfb76c9
+1 -1
View File
@@ -327,7 +327,7 @@ class mrModel extends model
$todo->assignedBy = $this->app->user->account;
$todo->date = date("Y-m-d", strtotime($rawTodo->target->created_at));
$todo->assignedDate = $rawTodo->target->created_at;
$todo->begin = date("Hi", strtotime($rawTodo->target->created_at));
$todo->begin = '2400'; /* 2400 means end is 'undefined'. */
$todo->end = '2400'; /* 2400 means end is 'undefined'. */
$todo->type = 'custom';
$todo->idvalue = $rawTodo->id;