Julien Cubizolles <j.cubizol...@free.fr> writes: > 'gnus-search-transform seems to be at fault here. It uses > '(format-time-string "%e-%b-%Y") where %b returns the "locale’s > abbreviated month name" when imap commands expects the english abbreviated > month name.
It's working with the attached patch. I'm not sure this is the best way to go but I'm happy with it.
diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el index 27c71fa6c6..0d9a62f911 100644 --- 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))
-- Julien Cubizolles