diff --git a/src/API/History/Index.php b/src/API/History/Index.php index d713d829..0f5b6439 100644 --- a/src/API/History/Index.php +++ b/src/API/History/Index.php @@ -365,7 +365,7 @@ final class Index } $item['full_title'] = $entity->getName(); - $item['progress'] = $entity->hasPlayProgress() ? $entity->getPlayProgress() : null; + $item['progress'] = $entity->hasPlayProgress() ? formatDuration($entity->getPlayProgress()) : null; $item['event'] = ag($entity->getExtra($entity->via), iState::COLUMN_EXTRA_EVENT, null); $item = [ diff --git a/src/Commands/Database/ListCommand.php b/src/Commands/Database/ListCommand.php index cfb9d1ac..c5187af4 100644 --- a/src/Commands/Database/ListCommand.php +++ b/src/Commands/Database/ListCommand.php @@ -475,7 +475,7 @@ final class ListCommand extends Command 'via' => $entity->via ?? '??', 'date' => makeDate($entity->updated)->format('Y-m-d H:i:s T'), 'played' => $entity->isWatched() ? 'Yes' : 'No', - 'progress' => $entity->hasPlayProgress() ? $entity->getPlayProgress() : 'None', + 'progress' => $entity->hasPlayProgress() ? formatDuration($entity->getPlayProgress()) : 'None', 'event' => ag($entity->extra[$entity->via] ?? [], iState::COLUMN_EXTRA_EVENT, '-'), ]; }