Function: gnus-search-mairix-handle-date
gnus-search-mairix-handle-date is a byte-compiled function defined in
gnus-search.el.gz.
Signature
(gnus-search-mairix-handle-date EXPR)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-search.el.gz
(defun gnus-search-mairix-handle-date (expr)
(let ((str
(pcase (cdr expr)
(`(nil ,m nil)
(substring
(nth (1- m) gnus-english-month-names)
0 3))
(`(nil nil ,y)
(number-to-string y))
(`(,d ,m nil)
(format "%s%02d"
(substring
(nth (1- m) gnus-english-month-names)
0 3)
d))
(`(nil ,m ,y)
(format "%d%s"
y (substring
(nth (1- m) gnus-english-month-names)
0 3)))
(`(,d ,m ,y)
(format "%d%02d%02d" y m d)))))
(format
(pcase (car expr)
('date "d:%s")
('since "d:%s-")
('after "d:%s-")
('before "d:-%s"))
str)))