Actions
Bug #2207
closedDate header for E-mail incorrect.
Start date:
02/16/2012
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0.1
Affected Architecture:
Description
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
From:
"Date: ".strftime("%a, %d %b %Y %H:%M:%S %Z")
To:
"Date: ".date("r")
Explenation:
%Z gives either CET or +0100, depending on the operating system. date("r") is especially made for generating a RDC822 timestamp.
Actions