Hello, I'd like to suggest the following new module: fprintftime-check. It uses the same infrastructure as fprintftime (i.e. #include "nstrtime,c") to implement a new function: int fprintftime_check (const char *format, const char** err_ptr); This function enables syntax-check of the format string. Current implementation of nstrtime/fprintftime silently ignore bad formats. With this module, it will be possible to detect/warn/reject invalid format strings in coreutils' date(1) ( https://bugs.gnu.org/16782 ). This patch is only a rough draft - everything can be changed (including the name). Comments and feedback welcomed, - assaf