mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix outages table timezone (#13274)
This commit is contained in:
@@ -113,7 +113,7 @@ class OutagesController extends TableController
|
||||
}
|
||||
|
||||
$output = "<span style='display:inline;'>";
|
||||
$output .= (new Carbon($timestamp))->format(Config::get('dateformat.compact'));
|
||||
$output .= (Carbon::createFromTimestamp($timestamp))->format(Config::get('dateformat.compact')); // Convert epoch to local time
|
||||
$output .= '</span>';
|
||||
|
||||
return $output;
|
||||
|
||||
Reference in New Issue
Block a user