[Users] FYI: Bad date formats and sorting...
pf at pfortin.com
Wed Jun 1 01:26:24 CEST 2016
On Wed, 1 Jun 2016 01:09:24 +0200 Paul Rolland (ポール・ロラン) wrote:
>On Tue, 31 May 2016 18:12:05 -0400
>Pierre Fortin <pf at pfortin.com> wrote:
>> Thought this might be useful info about date sorting...
>> Last week, I received some mail which didn't appear where it should in
>> the list of messages. Discovered the problem to be due to the sender
>> using an antiquated date format. Sent them the following and still
>> haven't heard back...
>> >It should read:
>> > Date: Wed, 25 May 2016 22:23:29 -0400
>> >not: Date: Wed May 25 22:23:29 EDT 2016
>> >Your Date causes incorrect sort-by-date at the receiving end.
>> >See also https://tools.ietf.org/html/rfc5322#section-4.3
>I'm also "fighting" with GrandStream, a IPBX maker, because the latest
>update changes the date to be formatted as:
>Date: Tue May 31 03:10:08 CEST 2016
>I opened a ticket, referred them to the RFC, and was told that this was
>escalated.... Ticket was closed yesterday due to lack of activity, never
>got a reply from the escalation.
>Guess we are going to have to learn to work with these buggy dates :(
Yup... looked into the code and thought the best place to "fix" this
was as the message(s) arrived... I'm willing to give it a shot if someone
can point me to the right bit of code (inc.c?) where the message arrives
and just before it gets written, I can give it a try...
More information about the Users