diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-01-19 14:36:10 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-01-19 14:47:58 +0200 |
commit | 5a7b63b21307c4271fd2d1ec57b706e56352da57 (patch) | |
tree | 0fa7dbda003dd86b8aea41330d4d36389736318a /sieve/Makefile.am | |
parent | f74ed5e0a431cc70bba6832ef05c0615a1dc846d (diff) | |
download | mailutils-5a7b63b21307c4271fd2d1ec57b706e56352da57.tar.gz mailutils-5a7b63b21307c4271fd2d1ec57b706e56352da57.tar.bz2 |
Add new date/time specifier for headline variable in mail
The new %D specifier allows the user to supply arbitrary strftime(3)
format string for outputting message date/time. E.g.:
set headline="%4m %20D{%Y-%m-%dT%H:%M:%S} %18f %s"
* mail/from.c (hdr_date): Take format from data, if supplied.
(compile_headline): Handle the %D specifier
* mail/util.c (util_do_command): Return immediately if
command parsing failed.
* mail/tests/D.at: New testcase.
* mail/tests/Makefile.am: Add new testcase.
* mail/tests/testsuite.at: Likewise.
* NEWS: Document changes.
* doc/texinfo/strftime.texi: New file.
* doc/texinfo/Makefile.am: Add strftime.texi
* doc/texinfo/mailutils.texi: Include strftime.texi
* doc/texinfo/programs.texi: Document the %D format specifier.
Diffstat (limited to 'sieve/Makefile.am')
0 files changed, 0 insertions, 0 deletions