<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #2916: Message Age in $index_format; %g



#2916: Message Age in $index_format;  %g

 Some are interested to see the age of a message instead of its
 absolute date in $index_format.  I propose to add `%g` and `%G`
 sequences to $index_format format strings.  I've attached a patch that
 implements this feature.

 %g = the age of the message (uses time sent)

 %G = the age of the message (uses time received)

 The patch uses this format:

 ||Notation||The message was received||
 ||2m||two minutes ago||
 ||5h 34m||5 hours and 34 minutes ago||
 ||1D 21h||1 day and 21 hours ago||
 ||2M 12D||2 months 12 days ago||
 ||3Y 11M||3 years 11 months ago||

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2916>