Subject: lib/2149: strftime documentation (?) is wrong
To: None <gnats-bugs@NetBSD.ORG>
From: Iain Hibbert <email@example.com>
Date: 02/28/1996 20:40:56
>Synopsis: strftime %X and %x are mixed up in man page
>Responsible: lib-bug-people (Library Bug People)
>Arrival-Date: Wed Feb 28 22:05:01 1996
>Originator: Iain Hibbert
System: NetBSD skate.demon.co.uk 1.1 NetBSD 1.1 (skate) #0: Sun Dec 10 13:57:07 GMT 1995 firstname.lastname@example.org:/home/plunky/src/sys/arch/sparc/compile/skate sparc
In /usr/src/lib/libc/string/strftime.3, I believe that the %X and %x
descriptions are wrongly specified.. %x should be the date, and %X the
time, not the other way around.
I think this is correct anyway, either the documentation or the function
is wrong, and I do not have the relevant ANSI spec to hand.. however, the
Tin 1.22 sources contain an alternative strftime function which behaves
the same way as ours does (ie the documentation is wrong).
yeah, er.. read the man page :)
edit /usr/src/lib/libc/string/strftime.3 and change the offending words around.