From d5c820109ea7e732e6b573a325971e0da4968e70 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 25 Feb 2019 08:03:04 -0800 Subject: [PATCH] doc: give date +%+F example * doc/coreutils.texi (Padding and other flags): Give example for + conversion specification. --- doc/coreutils.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 886ecf451e..3eedd3c63e 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -16003,8 +16003,9 @@ would normally pad with spaces. Pad with zeros, like @samp{0}. In addition, precede any year number with @samp{+} if it exceeds 9999 or if its field width exceeds 4; similarly, precede any century number with @samp{+} if it exceeds 99 -or if its field width exceeds 2. Preceding with @samp{+} is helpful -for generating some ISO 8601 formats. +or if its field width exceeds 2. This supports ISO 8601 formats +for dates far in the future; for example, the command @code{date +--date=12019-02-25 +%+13F} outputs the string @samp{+012019-02-25}. @item ^ Use upper case characters if possible. This is a GNU extension. -- 2.47.2