Community Discussions and Support
Bug report - Date: header read incorrectly

[quote user="Brian Fluet"]This is a known error in Pegasus.[/quote]

According to David Harris he goes to great lengths in fixing all sorts of contortions in date headers. Maybe this one is a sideeffect of it.

<p>[quote user="Brian Fluet"]<i>This is a known error in Pegasus.</i>[/quote]</p><p>According to David Harris he goes to great lengths in fixing all sorts of contortions in date headers. Maybe this one is a sideeffect of it. </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

I've received a few messages today (sent by eBay, for what that may be worth) where Pegasus Mail displays the wrong time. I think it's parsing the Date: header incorrectly. Here is an example.

Date: Mon, 10 Sep 2018 07:03:59 -0700 (GMT-07:00)

Should appear as time 15:03 ("07:03:59" - "-0700" + 01:00, the last being my time zone correction).

It is incorrectly shown by Pegasus Mail 4.73.639 in an IMAP folder listing as 08:00, probably by mistaking the comment "(GMT-07:00)" in error for the time.

RFC 2822 is specific about the format of the Date: header, and this looks valid to me. I hope this can be fixed in the next release of Pegasus Mail.

 - Mark

<p>I've received a few messages today (sent by eBay, for what that may be worth) where Pegasus Mail displays the wrong time. I think it's parsing the Date: header incorrectly. Here is an example.</p> <p><code>Date: Mon, 10 Sep 2018 07:03:59 -0700 (GMT-07:00)</code></p> <p>Should appear as time 15:03 ("07:03:59" - "-0700" + 01:00, the last being my time zone correction).</p> <p>It is incorrectly shown by Pegasus Mail 4.73.639 in an IMAP folder listing as 08:00, probably by mistaking the comment "(GMT-07:00)" in error for the time.</p><p>RFC 2822 is specific about the format of the Date: header, and this looks valid to me. I hope this can be fixed in the next release of Pegasus Mail.</p><p> - Mark </p>

Toggle your time zone correction setting: with a folder window selected choose Folder > Apply timezone correction.

Toggle your time zone correction setting: with a folder window selected choose Folder > Apply timezone correction.

This issue was recently discussed on the PM-Win discussion list.  Here's the content of the closing post to that thread:

This is a known error in Pegasus.

The header is perfectly valid (despite what other people are saying).

The text in parens is a comment and should be ignored. However, Pegasus
mis-parses the header and tries to interpret the "GMT-07:00". IIRC it
interprets the "-07:00" as an offset and then treats the actual offset as
the time, but I could be mis-remembering (it's several years since I ran
tests to diagnose the behaviour and ICBA to repeat them now).

<p>This issue was recently discussed on the PM-Win discussion list.  Here's the content of the closing post to that thread:</p><p><i>This is a known error in Pegasus. The header is perfectly valid (despite what other people are saying). The text in parens is a comment and should be ignored. However, Pegasus mis-parses the header and tries to interpret the "GMT-07:00". IIRC it interprets the "-07:00" as an offset and then treats the actual offset as the time, but I could be mis-remembering (it's several years since I ran tests to diagnose the behaviour and ICBA to repeat them now). </i> </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft