🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264580

Re: Gravity: Sorting by date Google Group posts

#264580
From: Frank Slootweg
Date: Sun, 03 Jan 2021 20:40
131 lines
6485 bytes
Steve <lammasland@gmail.com> wrote:
> On 2 Jan 2021 14:28:15 GMT, Frank Slootweg wrote:
> > 
> > Steve <lammasland@gmail.com> wrote:
> > > On 1 Jan 2021 18:33:08 GMT, Frank Slootweg wrote:
> > > > 
> > > > Steve <lammasland@gmail.com> wrote:
> > > > > 
> > > > > I sort my messages in Gravity by date rather than by the 
> > > > > subject. It makes it easier for me to see the newest 
> > > > > messages. Google Groups posts aren't in order because of 
> > > > > the timezone. Is there a way to make Gravity sort GG 
> > > > > posts by 'Injection-Date' instead of 'Date'? Thanks.
> > > > 
> > > >   I've only looked at a few examples, but AFAICT, 'Date:' and
> > > > 'Injection-Date:' (of Google Groups posts) contain the same time.
> > > > 
> > > >   'Date:' contains the user's (not the server's/Google's) local time,
> > > > with a timezone code. 'Injection-Date:' also contains the user's local
> > > > time, but converted to UTC (with '+0000' at the end).
> > > > 
> > > >   If you think 'Date: and 'Injection-Date:' are different, then give the
> > > > message-id or/and relevant headers of an example.
> > > 
> > > Example header.
> > > 
> > > X-Received: by 2002:a0c:fdec:: with SMTP id 
> > > m12mr65695485qvu.11.1609500095042;        Fri, 01 Jan 
> > > 2021 03:21:35 -0800 (PST)
> > > X-Received: by 2002:ac8:5286:: with SMTP id 
> > > s6mr60318561qtn.22.1609500094851; Fri, 01 Jan 2021 
> > > 03:21:34 -0800 (PST)
> > > Path: not-for-mail
> > > Newsgroups: uk.telecom.mobile
> > > Date: Fri, 1 Jan 2021 03:21:34 -0800 (PST)    <----
> > > User-Agent: G2/1.0
> > > MIME-Version: 1.0
> > > Message-ID: <3be7b521-45b4-4b71-89fc-
> > > d39d68d20eadn@googlegroups.com>
> > > Subject: Re: EU roaming charges will be coming back
> > > From: "notya...@gmail.com" <notyalckram@gmail.com>
> > > Injection-Date: Fri, 01 Jan 2021 11:21:35 +0000  <----
> > 
> >   Seems OK. 03:21:34 local PST time, which is 8 hours early (-0800) of
> > UTC. So 03:21:34 + 8 hours to get UTC, which is listed as 11:21:35, i.e.
> > 1 second off (which is of course OK).
> > 
> > > And this is how I see it in Gravity
> > > 
> > > Thread pane showing article out of date order
> > > <https://ibb.co/Ypyxk63>
> > 
> >   This thread pane seems to imply you sort by the local time of the
> > poster instead of your local time, because the 'problem' article is
> > listed as '01/1/2021 03:21' i.e. the poster's local time (unless you
> > live in the PST time zone (I can't tell from your headers, because
> > they're in UTC)).
> > 
> >   Sorting by poster-local-time is unusual, because that *will* result in
> > out of date/time order, unless everybody is in the same timezone.
> > 
> >   Anyway, the 'problem' article is not listed as out of (reverse, newest
> > first) date/time order ('31/12/2020 22;25' -> '01/1/2021 03:21' ->
> > '01/1/2021 08:04' (bottom to top) is the correct order).
> > 
> >   Bottom line: I don't understand the problem you're having.
> 
> The problem as I see it is Google puts their timezone 
> (PST) into the 'Date' header

  If 'notyalckram' is a UK poster, that's indeed a silly thing to do for
Google.

>			       and adds an 'Injection-
> Date' header with the posters timezone which Gravity 
> ignores.

  The 'Injection-Date' header is indeed reported in UTC, but that does
not mean that the poster lives in the UTC timezone. My 'Date' header is
also in UTC ('GMT'), but I live in The Netherlands, which (now, no DST)
is UTC+01:00.

  All in all, I think that as  - as I described before - 'Date' and
'Injection-Date' contain the exact same time, it looks like Gravity can
not handle the syntactically correct 'Date' header. That's rather
strange, because using a timezone code like '(PST)' is long standing
common practice.

  Maybe Michael can see if there's anything wrong with the 'Date' header
(which I don't see).

  Other than that, you might want to check if there are any other -
non-GG - articles with a '(XYZ)' timezone in their 'Date' header and see
whether Gravity can correctly handle those.

> I was hoping a Gravity user may be able to help me, 
> because this problem I'm having with Gravity displaying 
> Google Group posts not in date order only happens in 
> Gravity. Thunderbird, 40tude and Xnews don't put the 
> Google posts out of order when sorting the articles by 
> date.

  Exactly. That's why I suspect this is a Gravity bug, albeit a very
strange/basic one.

> >   When responding please give your local time zone (and offset from UTC)
> 
> (UTC+00:00) Dublin, Edinburgh, Lisbon, London

  Thanks.

> > and on which time/timezone you sort in Gravity.
> 
> It's the default system time and timezone. There is no 
> way to change this in Gravity.
> 
> > > Article headers
> > > <https://ibb.co/5TpxWv6>
> > > 
> > > 40tude Dialog shows the messages in correct order, but I 
> > > prefer Gravity. I've gone through the settings in Gravity 
> > > many times and can't find any way to change this.
> >   When responding please give your local time zone (and offset from UTC)
> > and on which time/timezone you sort in Gravity.
> > 
> > > Article headers
> > > <https://ibb.co/5TpxWv6>
> > > 
> > > 40tude Dialog shows the messages in correct order, but I 
> > > prefer Gravity. I've gone through the settings in Gravity 
> > > many times and can't find any way to change this.
Technical Details
Message-ID: <rstdkn.gls.1@ID-201911.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <lbGHH.92726$EA2.24496@fx01.iad> <rsntd8.jkc.1@ID-201911.user.individual.net> <xg_HH.16972$vi2.11827@fx09.iad> <rsq3e2.oek.1@ID-201911.user.individual.net> <6cpIH.77718$lZ1.67502@fx43.iad>

Show Full Headers
Complete Article Headers
Message-ID: <rstdkn.gls.1@ID-201911.user.individual.net>
Subject: Re: Gravity: Sorting by date Google Group posts
Date: Sun, 03 Jan 2021 20:40:46 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <lbGHH.92726$EA2.24496@fx01.iad> <rsntd8.jkc.1@ID-201911.user.individual.net> <xg_HH.16972$vi2.11827@fx09.iad> <rsq3e2.oek.1@ID-201911.user.individual.net> <6cpIH.77718$lZ1.67502@fx43.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
Lines: 131
X-Trace: individual.net 1xyAb2/x2aCgXLC10eEIxA+N/B1s836zx6DrX2WNZhcnEhqh1g
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:vNIXddr7wtWgGm2wjC0f3INyOoI=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210103-4, 01/03/2021), Outbound message
X-Antivirus-Status: Clean