Re: notmuch-reply date format

Subject: Re: notmuch-reply date format

Date: Mon, 14 Jul 2014 15:25:10 +0200 (CEST)

To: notmuch@notmuchmail.org

Cc:

From: Sime Ramov


* Austin Clements <amdragon@MIT.EDU> [Mon, 14 Jul 2014 09:04:31 -0400]:
> First, are you sure this is the right place to modify reply
> attribution? The Emacs frontend builds its own reply template. I'm not
> sure what the other frontends do.

I'm not using any frontends, only CLI.

> Assuming the CLI is the right place for you to change this, you
> probably want to call notmuch_message_get_date, then localtime, then
> strftime. The call to notmuch_message_get_header returns the literal
> text from the message's Date: header, while notmuch_message_get_date
> returns the parsed Date: header as a time_t.

Thanks, will try.

Thread: