feat: rename attendanceDate method to formattedAttendanceDate for clarity
This commit is contained in:
parent
66d6c843c3
commit
c11962cda1
@ -30,7 +30,7 @@ protected function casts(): array
|
||||
];
|
||||
}
|
||||
|
||||
protected function attendanceDate(): Attribute
|
||||
protected function formattedAttendanceDate(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn ($value) => $value ? \Carbon\Carbon::parse($value)->translatedFormat('l, d F Y') : null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user