summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-02-20 16:33:57 -0500
committerjim-p <jimp@pfsense.org>2012-02-20 16:33:57 -0500
commit4582ef4152d40808b41966ad7e2e9509f46447b3 (patch)
tree0f10b1f6e9c20f23c8ff5350657d4c784f065453 /etc/inc
parent9beeae5a3514b64695418f499d9182e3fda2b413 (diff)
downloadpfsense-4582ef4152d40808b41966ad7e2e9509f46447b3.zip
pfsense-4582ef4152d40808b41966ad7e2e9509f46447b3.tar.gz
Use PHP's built-in RFC 2822 date format, rather than trying to make our own.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/notices.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index 314473d..ee4b87f 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -315,7 +315,7 @@ function notify_via_smtp($message) {
"From: {$from}",
"To: {$to}",
"Subject: {$config['system']['hostname']}.{$config['system']['domain']} - Notification",
- "Date: ".strftime("%a, %d %b %Y %H:%M:%S %Z")
+ "Date: ".date("r")
);
/* Store last message sent to avoid spamming */
OpenPOWER on IntegriCloud