Display both local and UTC time in server env page

This commit is contained in:
Kijin Sung 2019-09-19 15:03:41 +09:00
parent 159f3555b1
commit 1ac14a6964

View file

@ -740,7 +740,7 @@ class adminAdminView extends admin
// Basic environment
$info[] = '[Basic Information]';
$info['rhymix_version'] = RX_VERSION;
$info['date'] = date('Y-m-d H:i:s O');
$info['date'] = Rhymix\Framework\DateTime::formatTimestampForCurrentUser('Y-m-d H:i:s O') . ' (' . gmdate('Y-m-d H:i:s') . ' UTC)';
$info['php'] = sprintf('%s (%d-bit)', phpversion(), PHP_INT_SIZE * 8);
$info['server'] = $_SERVER['SERVER_SOFTWARE'];
$info['os'] = sprintf('%s %s', php_uname('s'), php_uname('r'));