aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2014-04-22 22:40:00 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2014-04-22 22:40:00 +0200
commitca16935efd0fee58cc3a30be8d98a750b52a9c05 (patch)
tree274deb9bc622217919556cecbcb9753c6ba40798
parented3b71e6b8257976539d1b0ec58927b086492af3 (diff)
downloadpfsense-packages-ca16935efd0fee58cc3a30be8d98a750b52a9c05.tar.gz
pfsense-packages-ca16935efd0fee58cc3a30be8d98a750b52a9c05.tar.bz2
pfsense-packages-ca16935efd0fee58cc3a30be8d98a750b52a9c05.zip
spamd, use local timezone settings for new time columns
-rw-r--r--config/spamd/spamd_db.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/spamd/spamd_db.php b/config/spamd/spamd_db.php
index 66f1a930..7faef7f0 100644
--- a/config/spamd/spamd_db.php
+++ b/config/spamd/spamd_db.php
@@ -431,9 +431,9 @@ if (typeof getURL == 'undefined') {
echo "<td class=\"listr\">{$srcip}</td>";
echo "<td class=\"listr\">{$fromaddress}</td>";
echo "<td class=\"listr\">{$toaddress}</td>";
- echo "<td class=\"listr\"><span style='white-space: nowrap;'>" . gmdate("Y-m-d", $first) . "<br/>" . gmdate("H:i:s", $first) . "</span></td>";
- echo "<td class=\"listr\"><span style='white-space: nowrap;'>" . gmdate("Y-m-d", $pass) . "<br/>" . gmdate("H:i:s", $pass) . "</span></td>";
- echo "<td class=\"listr\"><span style='white-space: nowrap;'>" . gmdate("Y-m-d", $expire) . "<br/>" . gmdate("H:i:s", $expire) . "</span></td>";
+ echo "<td class=\"listr\"><span style='white-space: nowrap;'>" . date("Y-m-d", $first) . "<br/>" . date("H:i:s", $first) . "</span></td>";
+ echo "<td class=\"listr\"><span style='white-space: nowrap;'>" . date("Y-m-d", $pass) . "<br/>" . date("H:i:s", $pass) . "</span></td>";
+ echo "<td class=\"listr\"><span style='white-space: nowrap;'>" . date("Y-m-d", $expire) . "<br/>" . date("H:i:s", $expire) . "</span></td>";
echo "<td class=\"listr\">{$attempts}</td>";
echo "<td>";
$rowtext = "<NOBR><a href='javascript:toggle_on(\"w{$rows}\", \"/themes/{$g['theme']}/images/icons/icon_plus_p.gif\"); getURL(\"spamd_db.php?buttonid=w{$rows}&srcip={$srcip}&action=whitelist\", outputrule);'><img title=\"Add to whitelist\" name='w{$rows}' id='w{$rows}' border=\"0\" alt=\"Add to whitelist\" src=\"/themes/{$g['theme']}/images/icons/icon_plus.gif\"></a> ";