summaryrefslogtreecommitdiffstats
path: root/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 20:37:01 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 20:37:01 -0400
commit5e7eff74dafe7476a73d994de35c31f497565c12 (patch)
tree744c94ae34fbeadf2a2ebd4a62f153bf02f17a4e /usr/local/www/guiconfig.inc
parent69de22908454caf3315d763b709e662689b79f4a (diff)
downloadpfsense-5e7eff74dafe7476a73d994de35c31f497565c12.zip
pfsense-5e7eff74dafe7476a73d994de35c31f497565c12.tar.gz
Use more human readable format
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-xusr/local/www/guiconfig.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 53ff392..a0e25d8 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -764,8 +764,8 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert
$logent = preg_split("/\s+/", $logent, 6);
echo "<tr valign=\"top\">\n";
if ($withorig) {
- $logent[1] = date("Y-m-d H:i:s","" . $logent[1] . "");
- $entry_date_time = htmlspecialchars(join(" ", array_slice($logent, 0, 3)));
+ $logent[1] = date("F j, Y, g:i a","" . $logent[1] . "");
+ $entry_date_time = htmlspecialchars($logent[1]);
echo "<td class=\"listlr\" nowrap>" . $entry_date_time . "</td>\n";
echo "<td class=\"listr\">" . htmlspecialchars($logent[5]) . "</td>\n";
} else {
OpenPOWER on IntegriCloud