Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: jidanni@jidanni.org
Cc: ding@gnus.org, emacs-devel <emacs-devel@gnu.org>
Subject: Re: RSS If-Modified-Since
Date: Fri, 15 Feb 2008 14:44:30 -0600	[thread overview]
Message-ID: <86pruy3q6p.fsf@lifelogs.com> (raw)
In-Reply-To: <87ve4q2cyf.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sat, 16 Feb 2008 04:15:36 +0800")

On Sat, 16 Feb 2008 04:15:36 +0800 jidanni@jidanni.org wrote: 

j> Well OK but I bet
j> If-modified-since: Wednesday, 13-Feb-08 00:45:19 GMT
j> means 1908.

You may be right, RFC 850 doesn't specify the conversion.  Sorry I
didn't consider that in my original response (typical engineer response
to man in balloon asking "where am I" -- "in the air" :)

I don't know if the date should be 1900+x or (1900+x when x > 50, 2000+x
otherwise).  I'll bet that's one of the reasons RFC 850 is obsolete, so
let's instead try to fix the root problem.

So, what's sending that header?  In Emacs 22, it seems to be
lisp/url/url-util.el:url-get-normalized-date and it definitely has the
behavior you noted.  Since the bug may affect other things (there's a
comment about Plexus servers in the code) I won't attempt to fix it
myself, though it's not hard to do.  Please, emacs-devel-opers, let me
know if I should submit a fix.

I think format-time-string is the right function to do this, but there's
probably subtleties that I don't know.  At least for time zones,
format-time-string will handle them correctly.

j> Say, I use Debian sid  emacs-version "22.1.1" gnus-version "Gnus v5.11".
j> If I wish to help out by reporting against a more current gnus, which
j> one should I download and use? Would I have to also install a more
j> current emacs? Too much trouble then...

To report Gnus bugs, it's most helpful to check against the latest Gnus
from CVS.  That should not require an extremely new Emacs (22 should be
OK), but I don't know for sure, sorry.  I use Emacs from CVS for other
reasons.

Ted




      reply	other threads:[~2008-02-15 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13  2:40 jidanni
2008-02-15 19:21 ` Ted Zlatanov
2008-02-15 20:15   ` jidanni
2008-02-15 20:44     ` Ted Zlatanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86pruy3q6p.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).