* [feedback#7190,done,1.5h] change scientific count to two decimal.

This commit is contained in:
tianshujie
2024-10-23 09:18:10 +08:00
committed by 刘刚
parent e12b6ffb82
commit f927175fa2
9 changed files with 33 additions and 11 deletions
+3
View File
@@ -1273,6 +1273,9 @@ class taskModel extends model
$task->closedDate = !empty($task->closedDate) ? substr($task->closedDate, 0, 19) : null;
$task->lastEditedDate = !empty($task->lastEditedDate) ? substr($task->lastEditedDate, 0, 19) : null;
$task->realStarted = !empty($task->realStarted) ? substr($task->realStarted, 0, 19) : null;
$task->estimate = helper::formatHours($task->estimate);
$task->left = helper::formatHours($task->left);
$task->consumed = helper::formatHours($task->consumed);
/* Get the child tasks of the parent task. */
$children = $this->dao->select('*')->from(TABLE_TASK)->where('parent')->eq($taskID)->andWhere('deleted')->eq(0)->fetchAll('id');