update
This commit is contained in:
parent
de99ecf87e
commit
2f3c1eddb4
@ -32,12 +32,12 @@ class ProjectAttendanceDetail extends BaseModel
|
|||||||
|
|
||||||
public function getWorkStartTimeAttr($value): string
|
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
|
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
|
public function getAttendanceDateAttr($value): string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user