Bug #2207

Date header for E-mail incorrect.

Added by Peter Overtoom almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:02/16/2012
Priority:Normal Due date:
Assignee:- % Done:


Target version:2.1
Affected version:2.0.1 Affected Architecture:


PFSense E-mail notification date header: "Date: Thu, 16 Feb 2012 16:43:35 CET"
Date deceleration according to RFC822: "Date: Thu, 16 Feb 2012 16:43:35 +0100"

GMail, for one, tries to interpret it as a RFC822 header and displays the wrong time for the E-mails.

Easy to solve by changing line 318 from notices.inc
"Date: ".strftime("%a, %d %b %Y %H:%M:%S %Z")
"Date: ".date("r")

%Z gives either CET or +0100, depending on the operating system. date("r") is especially made for generating a RDC822 timestamp.


#1 Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Feedback

Fix committed, thanks!

#2 Updated by Chris Buechler almost 4 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF