home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky gnu.emacs.gnus:1446 news.software.readers:2648
- Newsgroups: gnu.emacs.gnus,news.software.readers
- Path: sparky!uunet!stanford.edu!EE.Stanford.EDU!sierra!mcgrant
- From: mcgrant@rascals.stanford.edu (Michael C. Grant)
- Subject: GNUS bug in timezone.el
- Message-ID: <MCGRANT.93Jan3173920@rascals.stanford.edu>
- Sender: usenet@EE.Stanford.EDU (Usenet)
- Organization: Information Systems Laboratory, Stanford University
- Date: 3 Jan 93 17:39:20
- Lines: 39
-
-
- I came across and fixed a rather simple bug in timezone.el for GNUS 3.14.1.
- timezone-parse-date fails to handle dates where the month is spelled out
- completely, and those occaisonally do come up in newsgroups---and, if they
- do, GNUS can't even open that newsgroup (if you're using dates to sort
- them, that is).
-
- This may have been posted before, but here's the patch to allow the
- timezone command to handle these cases.
-
- Michael C. Grant
- mcgrant@isl.stanford.edu
-
-
- *** timezone.el Sun Jan 3 17:36:20 1993
- --- timezone.el.dist Sun Jan 3 17:24:53 1993
- ***************
- *** 167,176 ****
- (cdr
- (assoc
- (upcase
- ! (substring
- ! (substring date
- ! (match-beginning month) (match-end month))
- ! 0 3))
- timezone-months-assoc))))
- (setq day
- (substring date (match-beginning day) (match-end day)))
- --- 167,174 ----
- (cdr
- (assoc
- (upcase
- ! (substring date
- ! (match-beginning month) (match-end month)))
- timezone-months-assoc))))
- (setq day
- (substring date (match-beginning day) (match-end day)))
- --
- "Long hair, short hair--what's the difference once the head's blowed off?" (?)
-