Thread View: gnu.emacs.gnus
1 messages
1 total messages
Started by Michael C. Grant
Sun, 03 Jan 1993 17:39
GNUS bug in timezone.el
Author: Michael C. Grant
Date: Sun, 03 Jan 1993 17:39
Date: Sun, 03 Jan 1993 17:39
39 lines
1844 bytes
1844 bytes
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?" (?)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads