Update BackupResource.php

This commit is contained in:
Bozhidar 2024-05-02 11:35:04 +03:00
parent 2b0425f8e1
commit 6b226a289a

View file

@ -83,7 +83,7 @@ class BackupResource extends Resource
}),
Tables\Columns\TextColumn::make('completed_at')
->label('Completed for')
->label('Completed time')
->state(function (Backup $backup) {
$diff = \Carbon\Carbon::parse($backup->completed_at)
->diffForHumans($backup->created_at);