Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with localized date
@ 2006-11-01 10:17 Reiner Steib
  0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2006-11-01 10:17 UTC (permalink / 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/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-01 10:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-01 10:17 Problem with localized date Reiner Steib

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).