Project

General

Profile

Actions

Bug #2207

closed

Date header for E-mail incorrect.

Added by Peter O over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Notifications
Target version:
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 #1

Updated by Jim Pingle over 12 years ago

  • Status changed from New to Feedback

Fix committed, thanks!

Actions #2

Updated by Chris Buechler over 12 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF