Subject: lib/2149: strftime documentation (?) is wrong
To: None <gnats-bugs@NetBSD.ORG>
From: Iain Hibbert <>
List: netbsd-bugs
Date: 02/28/1996 20:40:56
>Number:         2149
>Category:       lib
>Synopsis:       strftime %X and %x are mixed up in man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 28 22:05:01 1996
>Originator:     Iain Hibbert
>Release:        1.1
System: NetBSD 1.1 NetBSD 1.1 (skate) #0: Sun Dec 10 13:57:07 GMT 1995 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.