This commit is contained in:
weiz 2024-01-24 11:02:56 +08:00
parent de99ecf87e
commit 2f3c1eddb4

View File

@ -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