aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_download_updates.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-03-18 12:44:38 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-03-18 12:44:38 -0400
commitca24f17206d370ac5b31ec5a5b535ad2599ecd1e (patch)
treee4f1dfa6a1de71a41225d23e2bfaee3134b448fe /config/suricata/suricata_download_updates.php
parenta6f4ab08784d3bcaef35b74f7e22358378acdc53 (diff)
downloadpfsense-packages-ca24f17206d370ac5b31ec5a5b535ad2599ecd1e.tar.gz
pfsense-packages-ca24f17206d370ac5b31ec5a5b535ad2599ecd1e.tar.bz2
pfsense-packages-ca24f17206d370ac5b31ec5a5b535ad2599ecd1e.zip
Store last update time as timestamp instead of date string.
Diffstat (limited to 'config/suricata/suricata_download_updates.php')
-rw-r--r--config/suricata/suricata_download_updates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_download_updates.php b/config/suricata/suricata_download_updates.php
index a353b054..bae467e4 100644
--- a/config/suricata/suricata_download_updates.php
+++ b/config/suricata/suricata_download_updates.php
@@ -42,7 +42,7 @@ $snortcommunityrules = $config['installedpackages']['suricata']['config'][0]['sn
/* Get last update information if available */
if (!empty($config['installedpackages']['suricata']['config'][0]['last_rule_upd_time']))
- $last_rule_upd_time = htmlspecialchars($config['installedpackages']['suricata']['config'][0]['last_rule_upd_time']);
+ $last_rule_upd_time = date('M-d Y H:i', $config['installedpackages']['suricata']['config'][0]['last_rule_upd_time']);
else
$last_rule_upd_time = gettext("Unknown");
if (!empty($config['installedpackages']['suricata']['config'][0]['last_rule_upd_status']))