Commit c4753373 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

gnus-art.el (article-make-date-line): Work for user-defined format.

parent e389d61f
2011-01-31 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (article-make-date-line): Work for user-defined format.
2011-01-31 Lars Ingebrigtsen <larsi@gnus.org>
 
* gnus-start.el (gnus-read-active-for-groups): Read the active files
......
......@@ -3480,7 +3480,7 @@ possible values."
(defun article-make-date-line (date type)
"Return a DATE line of TYPE."
(unless (memq type '(local ut original user iso8601 lapsed english
combined-lapsed))
combined-lapsed user-defined))
(error "Unknown conversion type: %s" type))
(condition-case ()
(let ((time (date-to-time date)))
......@@ -3508,7 +3508,7 @@ possible values."
(substring date 0 (match-beginning 0))
date)))
;; Let the user define the format.
((eq type 'user)
((eq type 'user-defined)
(let ((format (or (condition-case nil
(with-current-buffer gnus-summary-buffer
gnus-article-time-format)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment