On Wed, Jan 05, 2011 at 04:32:44PM -0600, David Champion wrote: > * On 05 Jan 2011, Yue Wu wrote: > > Hi list, > > > > Is there a date/time string that show the time only for today's emails > > but date for else? So, in the index, the emails that got today will > > show the time only, but the ones that got on other days will show the > > date and time. > > Not in out-of-box mutt. For that you need the date_conditional patch by > Aaron Schrab. I don't see a version on the web that is rebased against > current mutt but I can send you one if you're comfortable patching and > compiling your own mutt.
If I remember correctly, the date_conditional patch doesn't *quite* let you have a different date/time string for today, rather it gives you a different date/time string for the last 24h. A while back, I wrote a modified version of the date_conditional patch so that it could be used to produce different formats for mails from today, from the current month, from the current year, etc. I haven't gotten around to making it available online, but if you want a copy I'd be happy to mail it to you. Toby -- Dr T. S. Cubitt Mathematics and Quantum Information group Department of Mathematics Complutense University Madrid, Spain email: [email protected] web: www.dr-qubit.org
