diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-10-19 14:57:57 -0700 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-07 17:09:15 +0000 |
commit | 30012b290facf66551cdf395ace397903d00483d (patch) | |
tree | 6fcc03436b7a10a2002ce03d9573689218d5e55c /doc/coreutils.texi | |
parent | 7ba9355d0aec01a005164b02f7bdc8e67c430315 (diff) | |
download | coreutils-30012b290facf66551cdf395ace397903d00483d.tar.xz |
date: add %q to output the quarter of the year
* doc/coreutils.texi (date invocation): Document %q.
* src/date.c (usage): Likewise.
* tests/misc/date.pl: Add a test case.
* cfg.mk (sc_strftime_check): Adjust to allow %q.
* NEWS: Mention the new feature.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r-- | doc/coreutils.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 839af8871..597cf76f0 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -15207,6 +15207,8 @@ same as @samp{%b} day of year (@samp{001}@dots{}@samp{366}) @item %m month (@samp{01}@dots{}@samp{12}) +@item %q +quarter of year (@samp{1}@dots{}@samp{4}) @item %u day of week (@samp{1}@dots{}@samp{7}) with @samp{1} corresponding to Monday @item %U |