Add field boottime to api/system/systemTime (#8557)

This commit is contained in:
eopo 2025-04-16 20:03:12 +02:00 committed by GitHub
parent 5d0007a023
commit c53dc21190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,6 +145,7 @@ class SystemController extends ApiControllerBase
$response = [
'uptime' => $this->formatUptime(time() - $matches[1]),
'datetime' => date("D M j G:i:s T Y"),
'boottime' => date("D M j G:i:s T Y", $matches[1]),
'config' => $last_change,
'loadavg' => $loadavg,
];