Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Problem with localized date
Date: Wed, 01 Nov 2006 11:17:27 +0100	[thread overview]
Message-ID: <v93b93h3ns.fsf@marauder.physik.uni-ulm.de> (raw)

Hi,

in the German language Gnus newsgroup, Ralf Wachinger reported[1] the
following error:

,----
| Debugger entered--Lisp error: (error "Invalid date: 31.10.2006 15:19:24")
|   signal(error ("Invalid date: 31.10.2006 15:19:24"))
|   error("Invalid date: %s" "31.10.2006 15:19:24")
|   date-to-time("31.10.2006 15:19:24")
|   date-to-day("31.10.2006 15:19:24")
|   days-between("Tue Oct 31 19:05:17 2006" "31.10.2006 15:19:24")
`----

I can reproduce this when starting Emacs with LC_TIME="de_DE" and the
following Gnus settings:

(setq gnus-article-time-format "%c"
 gnus-treat-date-user-defined 'head
 gnus-treat-date-lapsed nil
 gnus-treat-hide-boring-headers 'head)
(add-to-list 'gnus-boring-article-headers 'date)

The following patch seems to solve this problem (I will install it in
v5-10 and trunk soon).  Does anyone see a problem with this change or
a better fix?

Bye, Reiner.

[1]
,----[ <62d28b565625f9a68fcb42586ec8e9b1@wachinger.fqdn.th-h.de> ]
| From: Ralf Wachinger <rwnewsmampfer (at) geekmail.de>
| Subject: Benutzerdefinierte Anzeige des Date-Headers
| Newsgroups: de.comm.software.gnus
| Date: 31 Oct 2006 18:43:14 GMT
| Message-ID: <62d28b565625f9a68fcb42586ec8e9b1@wachinger.fqdn.th-h.de>
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




                 reply	other threads:[~2006-11-01 10:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=v93b93h3ns.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).