It's still 2020. :-(
Alan Mackenzie
acm at muc.de
Mon Jan 4 13:51:45 UTC 2021
Hello, David
On Mon, Jan 04, 2021 at 08:13:59 -0500, David Haguenauer wrote:
> Hi Alan,
> * Alan Mackenzie <acm at muc.de>, 2021-01-04 12:59:34 Mon:
> > I'm now seeing dates from 4 January as 2021, those of 3 January and
> > before as 2020. It is almost as though some piece of software thinks the
> > year begins on 4th Jan, not 1st Jan.
> > Here's a short section of my inbox, with mails from various time zones
> > straddling midnight:
> > 164997 Os 3 Jan 2020 Michael ( 92 / 3.5K) └─>
> > 164998 N 4 Jan 2021 Dr Rainer Woito ( 45 / 1.4K) └─>
> It looks almost as if you have a date display format that uses the
> year from the Posix week, instead of the year from the day.
> Indeed, week 53 of 2020 ended on Jan 3; today, Jan 4, starts week 1 of
> 2021.
> Perhaps check for a custom display format?
Indeed, that is my problem! My index_format is defined by:
set index_format = "%4C %Z %{%e %b %G} %-15.15L (%4l / %4c) %s"
^
, and that %G means "ISO 8601 week-based year". What I need is %Y. All
from the man page for strftime. I haven't tried it yet, but I'm certain
this change will bring me back the real year for 2021-01-01 -> ...-03.
Thank you indeed!
> --
> David Haguenauer
--
Alan Mackenzie (Nuremberg, Germany).
More information about the Mutt-users
mailing list