summaryrefslogtreecommitdiff
path: root/mu-aux/gencl
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-01-19 14:36:10 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2018-01-19 14:47:58 +0200
commit5a7b63b21307c4271fd2d1ec57b706e56352da57 (patch)
tree0fa7dbda003dd86b8aea41330d4d36389736318a /mu-aux/gencl
parentf74ed5e0a431cc70bba6832ef05c0615a1dc846d (diff)
downloadmailutils-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 'mu-aux/gencl')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.