path: root/libmailutils/
authorSergey Poznyakoff <>2018-01-19 12:36:10 (GMT)
committer Sergey Poznyakoff <>2018-01-19 12:47:58 (GMT)
commit5a7b63b21307c4271fd2d1ec57b706e56352da57 (patch) (side-by-side diff)
tree0fa7dbda003dd86b8aea41330d4d36389736318a /libmailutils/
parentf74ed5e0a431cc70bba6832ef05c0615a1dc846d (diff)
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/ New testcase. * mail/tests/ Add new testcase. * mail/tests/ Likewise. * NEWS: Document changes. * doc/texinfo/strftime.texi: New file. * doc/texinfo/ Add strftime.texi * doc/texinfo/mailutils.texi: Include strftime.texi * doc/texinfo/programs.texi: Document the %D format specifier.
Diffstat (limited to 'libmailutils/') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.