diff --git a/app/common/model/project/ProjectAttendanceDetail.php b/app/common/model/project/ProjectAttendanceDetail.php index 8429ed6d8..aa5425e1a 100644 --- a/app/common/model/project/ProjectAttendanceDetail.php +++ b/app/common/model/project/ProjectAttendanceDetail.php @@ -32,12 +32,12 @@ class ProjectAttendanceDetail extends BaseModel public function getWorkStartTimeAttr($value): string { - return !empty($value) ? date('Y-m-d H:i:s',$value) : ''; + return !empty($value) ? date('H:i:s',$value) : ''; } public function getWorkEndTimeAttr($value): string { - return !empty($value) ? date('Y-m-d H:i:s',$value) : ''; + return !empty($value) ? date('H:i:s',$value) : ''; } public function getAttendanceDateAttr($value): string