From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1457 Path: news.gmane.org!not-for-mail From: Eric Eide Newsgroups: gmane.emacs.gnus.user Subject: Re: no Date header: shown as Jan 01 Date: Wed, 13 Nov 2002 09:13:27 -0700 (MST) Organization: University of Utah School of Computing Message-ID: References: <873cq63wuo.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668226 11367 80.91.229.2 (31 Jan 2006 00:43:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:43:46 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:11 2006 Original-Path: quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!dog.ee.lbl.gov!news.cc.utah.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: ioka.flux.utah.edu Original-X-Trace: coward.ks.cc.utah.edu 1037204007 16091 155.98.60.84 (13 Nov 2002 16:13:27 GMT) Original-X-Complaints-To: abuse@cc.utah.edu Original-NNTP-Posting-Date: 13 Nov 2002 16:13:27 GMT User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1597 Original-Lines: 26 X-Gnus-Article-Number: 1597 Tue Jan 17 17:29:11 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1457 Archived-At: "Dan" == Dan Jacobson writes: Dan> Gnus is a weakling newsreader in that if a message doesn't have a Dan> Date header, Gnus will say Jan 01 in the summary, at least in the Dan> Drafts folder. Stop lying about age... say "???" perhaps instead. I've seen this problem as well, and I agree it's confusing. An UNTESTED fix: (defun gnus-dd-mmm (messy-date) "Return a string like DD-MMM from a big messy string." (condition-case () (format-time-string "%d-%b" (date-to-time messy-date)) (error " - "))) The version of this function in Gnus 5.8.7 calls `safe-date-to-time', which returns a zero-date if the string is unparseable. Insinuating this function into your setup is left as an exercise for the reader. Eric. -- ------------------------------------------------------------------------------- Eric Eide . University of Utah School of Computing http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX