Fix outages table timezone (#13274)

This commit is contained in:
ottorei
2021-09-26 16:08:11 +02:00
committed by GitHub
parent 7857dab98e
commit 8ceebe7102
@@ -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;