aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-antivirus/antivirus_status.widget.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-07-29 20:32:35 -0700
committerChris Buechler <cmb@pfsense.org>2011-07-29 20:32:35 -0700
commitddac412c976f6f5ffc54a9fbbc247c91df80c4df (patch)
treead38567b0065ed24c9dc2d6f59dfe4c4c541d0c0 /config/widget-antivirus/antivirus_status.widget.php
parent7a5feaaebb67f6c54695b24bdf4541a3727508e2 (diff)
parentc301d6b29779fcf728963bdbf1251b5249cde87a (diff)
downloadpfsense-packages-ddac412c976f6f5ffc54a9fbbc247c91df80c4df.tar.gz
pfsense-packages-ddac412c976f6f5ffc54a9fbbc247c91df80c4df.tar.bz2
pfsense-packages-ddac412c976f6f5ffc54a9fbbc247c91df80c4df.zip
Merge pull request #13 from LostInIgnorance/master
Changed to reflect YYYY.MM.DD
Diffstat (limited to 'config/widget-antivirus/antivirus_status.widget.php')
-rw-r--r--config/widget-antivirus/antivirus_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/widget-antivirus/antivirus_status.widget.php b/config/widget-antivirus/antivirus_status.widget.php
index fee10ea8..a908d7b8 100644
--- a/config/widget-antivirus/antivirus_status.widget.php
+++ b/config/widget-antivirus/antivirus_status.widget.php
@@ -57,7 +57,7 @@ function havp_avdb_info($filename)
# datetime
$dt = explode(" ", $s[1]);
- $s[1] = strftime("%m.%d.%Y", strtotime("{$dt[0]} {$dt[1]} {$dt[2]}"));
+ $s[1] = strftime("%Y.%m.%d", strtotime("{$dt[0]} {$dt[1]} {$dt[2]}"));
if ($s[0] == 'ClamAV-VDB')
$r .= "<tr class='listr'><td>{$filename}</td><td $stl>{$s[1]}</td><td $stl>{$s[2]}</td><td $stl>{$s[7]}</td></tr>";
}