diff options
author | jim-p <jimp@pfsense.org> | 2012-02-20 16:33:57 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-02-20 16:33:57 -0500 |
commit | 4582ef4152d40808b41966ad7e2e9509f46447b3 (patch) | |
tree | 0f10b1f6e9c20f23c8ff5350657d4c784f065453 | |
parent | 9beeae5a3514b64695418f499d9182e3fda2b413 (diff) | |
download | pfsense-4582ef4152d40808b41966ad7e2e9509f46447b3.zip pfsense-4582ef4152d40808b41966ad7e2e9509f46447b3.tar.gz |
Use PHP's built-in RFC 2822 date format, rather than trying to make our own.
-rw-r--r-- | etc/inc/notices.inc | 2 |
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 */ |