commit: a7fb733a105d0f098d373ca340cdc2bf83549f2f
parent: d93b41d68f3aa3a7e83411ce73a38284b62d21c4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 7 Mar 2020 16:40:46 +0100
date.1x: Add note about lack of %s in date(1p)
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/man1x/date.1x b/man1x/date.1x
@@ -32,6 +32,14 @@ instead of current datetime (aka now). Absent for POSIX, present for
.Ox ,
GNU coreutils,
BusyBox.
+.Ss +format
+It is mostly similar to
+.Xr strftime 3
+but it actually presents some differencies, for example POSIX doesn't put the usual %s for seconds since 1970-01-01 00:00:00 UTC (aka Unix Epoch) into
+.Xr date 1
+but it is present into
+.Xr strftime 3 .
+Not sure if this is a bug into the specification or not.
.Ss setdate format
The heck they managed to put in their manpage, followed by
.Xr strftime 3