Date: Mon, 15 Oct 2001 06:40:02 -0700 (PDT) From: Dima Dorfman <dima@trit.org> To: freebsd-doc@freebsd.org Subject: Re: docs/31164: strftime is incorrect Message-ID: <200110151340.f9FDe2g90896@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/31164; it has been noted by GNATS. From: Dima Dorfman <dima@trit.org> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: docs/31164: strftime is incorrect Date: Mon, 15 Oct 2001 13:37:13 +0000 Adding to audit-trail. Ulrich <ulrich@infopuls.com> wrote: > On Sun, Oct 14, 2001 at 11:20:08PM +0000, Dima Dorfman wrote: > > ulrich <ulrich@infopuls.com> wrote: > > > >Description: > > > man page for strftime > > > > > > %a is replaced by national representation of the abbreviated weekday > > > name, where the abbreviation is the first three characters. > > > > > > This is incorrect and should be > > > > > > "... two characters and a space." > > ^^^^^ > > Is this part of the change? > > I don't understand the question. > > > > >How-To-Repeat: > > > date "+%a|" > > > > I can't reproduce this: > > > > dima@hornet% uname -r > > 4.4-20011007-STABLE > > dima@hornet% date "+%a|" > > Sun| > > > > dima@mirage% uname -r > > 5.0-20010908-CURRENT > > dima@mirage% date "+%a|" > > Sun| > > ---------------------------------------------------------------- > > uname -r > 4.1-RELEASE > > date "+%a|" > Mo | > > printenv | grep LC > LC_MESSAGES=de_DE.ISO_8859-1 > LC_TIME=de_DE.ISO_8859-1 > LC_CTYPE=de_DE.ISO_8859-1 > LC_COLLATE=de_DE.ISO_8859-1 > > ---------------------------------------------------------------- > > Seems that depending on the locale configuration the result is > different. By now I regard the implementation of strftime as > incorrect as the first three characters of the weekday in this > case are "Mon". If there are intentionally different numbers of > non blank characters for different locale settings the man page > should say so. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110151340.f9FDe2g90896>