Re: index-format-hook date pattern for current week

2021-11-04 Thread Ed Blackman
On Tue, Aug 31, 2021 at 05:54:23AM -0700, li...@ifohancroft.com wrote: [...] > index-format-hook date "~d<1d" "%[%H:%M]" # If it's from today - I only want > the time > index-format-hook date "~d<1w" "%[%d %a]" # If it's from this week - I only > want the day and the date [...] > The rest works as

Re: index-format-hook date pattern for current week

2021-08-31 Thread raf
On Tue, Aug 31, 2021 at 05:54:23AM -0700, li...@ifohancroft.com wrote: > Hi, > > I am using an index-format-hook inside of index_format, to change the way > the date column is displayed based on how old the email is. > > My current setting is the following: > > # ID, Attachments, Flags, Subject

index-format-hook date pattern for current week

2021-08-31 Thread lists
Hi, I am using an index-format-hook inside of index_format, to change the way the date column is displayed based on how old the email is. My current setting is the following: # ID, Attachments, Flags, Subject, Correspondent, Date set index_format = "%4C %?X?📎& ?%-1.1@replied@%-2.2@encrypted