Hello,
I am reading the date man page for the first time and it seems that a `+`
must prefix a format string, but this requirement or behavior is not
documented.

Example:
```bash
date "%H:%M"
----
date: invalid date ‘%H:%M’
```

```bash
date "+%H:%M"
----
10:15
```

The only way I found this is through the default format string on the
page linked below.

I think this default format string should appear in the man page as
well.

https://www.gnu.org/software/coreutils/manual/html_node/date-invocation.html#date-invocation


MCP

  • Date documentation Michael Partridge

Reply via email to