From: Jakub Vrana Date: Sat, 1 Dec 2012 18:01:09 +0000 (-0800) Subject: Display date in SQL history (thanks to trestna smradlavice) X-Git-Tag: v3.6.2~18 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=a5548ce82362ea65f5bdf7e9734ac0ecd8471d60;p=adminer.git Display date in SQL history (thanks to trestna smradlavice) --- diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 43e5f8bb..1768ded1 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -205,7 +205,7 @@ if ($history) { print_fieldset("history", lang('History'), $_GET["history"] != ""); foreach ($history as $key => $val) { list($q, $time) = $val; - echo '' . lang('Edit') . " " . @date("H:i:s", $time) . " " . shorten_utf8(ltrim(str_replace("\n", " ", str_replace("\r", "", preg_replace('~^(#|-- ).*~m', '', $q)))), 80, "") . "
\n"; // @ - time zone may be not set + echo '' . lang('Edit') . " " . @date("H:i:s", $time) . " " . shorten_utf8(ltrim(str_replace("\n", " ", str_replace("\r", "", preg_replace('~^(#|-- ).*~m', '', $q)))), 80, "") . "
\n"; // @ - time zone may be not set } echo "\n"; echo "" . lang('Edit all') . "\n";