mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
doc: give date +%+F example
* doc/coreutils.texi (Padding and other flags): Give example for + conversion specification.
This commit is contained in:
1 parent
3e7fd6650e
commit
d5c820109e
1 file changed
+3
-2
+3
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user