logo

cross-unix-documentation

documentation of similarities and (noteworthy) differencies between Unix systems
commit: 8e721911fa76bbe3f6c2bcd600078140a1919a6c
parent: a7fb733a105d0f098d373ca340cdc2bf83549f2f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  7 Mar 2020 17:32:39 +0100

date.1x: Add note about *BSD passing to strftime(3)

Diffstat:

Mman1x/date.1x14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/man1x/date.1x b/man1x/date.1x @@ -35,11 +35,23 @@ 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 +but it actually presents some differencies, for example POSIX doesn't put the usual ( +.Nx , +.Fx , +.Ox , +GNU coreutils, BusyBox) %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. +.Pp +.Nx , +.Fx , +.Ox +just gives +.Ar format +to +.Xr strftime 3 . .Ss setdate format The heck they managed to put in their manpage, followed by .Xr strftime 3