projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c539521
)
Gnus nnimap date search string must use C locale
author
Eric Abrahamsen
<eric@ericabrahamsen.net>
Mon, 30 Jan 2023 17:55:40 +0000
(09:55 -0800)
committer
Eric Abrahamsen
<eric@ericabrahamsen.net>
Mon, 30 Jan 2023 17:55:40 +0000
(09:55 -0800)
* lisp/gnus/gnus-search.el (gnus-search-imap-handle-date): The %b
needs to be the English month name for IMAP search.
lisp/gnus/gnus-search.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-search.el
b/lisp/gnus/gnus-search.el
index 27c71fa6c6a5032aa1a94d2e00c9e0125f4b7284..22c84bc39cffd7f9c54d3b5c65aec07c1a3f8b3d 100644
(file)
--- a/
lisp/gnus/gnus-search.el
+++ b/
lisp/gnus/gnus-search.el
@@
-1330,9
+1330,10
@@
elements are present."
(1- nyear)
nyear))
(setq dmonth 1))))
- (format-time-string
- "%e-%b-%Y"
- (encode-time 0 0 0 dday dmonth dyear))))
+ (with-locale-environment "C"
+ (format-time-string
+ "%e-%b-%Y"
+ (encode-time 0 0 0 dday dmonth dyear)))))
(cl-defmethod gnus-search-imap-handle-string ((engine gnus-search-imap)
(str string))