Re: index_format setting to show yr
- To: mutt-users@xxxxxxxx
- Subject: Re: index_format setting to show yr
- From: SK <sk.list@xxxxxxxxx>
- Date: Sat, 21 Jun 2008 09:00:57 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uiJ8zcYMbRRPH71EyFdfD7QFOmj/2UaZxV8ddVn20Es=; b=B6jgjOPu5/TIUzvDXJ309qjpvWffsqQVE6Gr9j0jjkCnVB2r9UQpcjjNlDce5idr6/ RSOV4nxD0+dducUq+VWAJW3CxKiMHIxiyH63e0I+H48QbE6+xolX8IAQEjoOWSGxqjtf iRBzjQEkX8pVEYcgfrAr/+fLQLLQcfWEBpBYM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DU2KL/jQSd+4H9VpGAmL5wX56GhTbamRvoFXxNm5I4KoHzqE2xOlA1XUBrCSVGSjo5 3NF2mQ1crC2p9uVmQZ9mf/PQZTiDokFswWh8D1tVI5m8j0pDJviRhxk1ikYEUnu7BGzI p4k6VH4KWH6iT4k1hIdcwVduPaLCuvmx+0dHY=
- In-reply-to: <20080620174226.GW18708@xxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <6ca73f650806120012p49e7d7bbif4aca3c4900d40a9@xxxxxxxxxxxxxx> <20080620174226.GW18708@xxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
On Fri, Jun 20, 2008 at 7:42 PM, David Champion <dgc@xxxxxxxxxxxx> wrote:
>> Is there any way to setup mutt (the date_format variable?) such that
>> in the index view, the year is shown only if the year of the message
>> is different from the current year? The default "%d" shows only the
>> "Month date".
>
> You need the "date_conditional" patch to make date formats conditional
> upon relative date offsets, but even so you can only say "in the last 6
> months" or the like -- not "in the current year".
Thanks David, the date_conditional patch did the work!