From: Paul Eggert Date: Mon, 25 Feb 2019 16:03:04 +0000 (-0800) Subject: doc: give date +%+F example X-Git-Tag: v8.31~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c820109ea7e732e6b573a325971e0da4968e70;p=thirdparty%2Fcoreutils.git doc: give date +%+F example * doc/coreutils.texi (Padding and other flags): Give example for + conversion specification. --- 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.