[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus-search since: not working for nnimap
From: |
Julien Cubizolles |
Subject: |
Re: gnus-search since: not working for nnimap |
Date: |
Mon, 30 Jan 2023 10:32:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Julien Cubizolles <j.cubizolles@free.fr> writes:
> Eric Abrahamsen <eric@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