diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-03-18 12:44:38 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-03-18 12:44:38 -0400 |
commit | ca24f17206d370ac5b31ec5a5b535ad2599ecd1e (patch) | |
tree | e4f1dfa6a1de71a41225d23e2bfaee3134b448fe /config/suricata/suricata_download_updates.php | |
parent | a6f4ab08784d3bcaef35b74f7e22358378acdc53 (diff) | |
download | pfsense-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.php | 2 |
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'])) |