Small error in date command

  • Done
  • quality assurance status badge
Details
2 participants
  • Pádraig Brady
  • Malin Freeborn
Owner
unassigned
Submitted by
Malin Freeborn
Severity
normal
M
M
Malin Freeborn wrote on 13 Dec 2022 03:50
(address . bug-coreutils@gnu.org)
CP0CJQ0VLSG9.1QMSYKI36YM2U@hex
Hi bug-team,

There's a small error in the date man page. If you search for `%F`
you'll notice the date is summarized as so:

%F full date; like %+4Y-%m-%d

The example shows the `%` sign before the `+`.

Best,
- Malin
P
P
Pádraig Brady wrote on 13 Dec 2022 13:51
a803548d-d266-2af7-b03a-87dc4280b41a@draigBrady.com
tag 60030 notabug
close 60030
stop

On 13/12/2022 02:50, Malin Freeborn wrote:
Toggle quote (9 lines)
> Hi bug-team,
>
> There's a small error in the date man page. If you search for `%F`
> you'll notice the date is summarized as so:
>
> %F full date; like %+4Y-%m-%d
>
> The example shows the `%` sign before the `+`.

This was intentional. '+' is a flag in this context as per:

cheers,
Pádraig
?