Julien Cubizolles <j.cubizol...@free.fr> writes:

> Eric Abrahamsen <e...@ericabrahamsen.net> writes:
>
>> We'll have to get closer to the IMAP server, then.

Actually we don't. I didn't pay enough attention to the results of the
previous test you suggested:

--8<---------------cut here---------------start------------->8---
(gnus-search-transform
 (make-instance 'gnus-search-imap)
 (gnus-search-parse-query "since:1y")) -> "SINCE 28-Jan-2022"
--8<---------------cut here---------------end--------------->8---

returns
--8<---------------cut here---------------start------------->8---
"SINCE 30-janv.-2022"
--8<---------------cut here---------------end--------------->8---

but it should be
--8<---------------cut here---------------start------------->8---
"SINCE 30-jan-2022"
--8<---------------cut here---------------end--------------->8---

'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.

-- 
Julien Cubizolles


Reply via email to