From owner-freebsd-doc Mon Oct 15 6:40: 6 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1CFE137B405 for ; Mon, 15 Oct 2001 06:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9FDe2g90896; Mon, 15 Oct 2001 06:40:02 -0700 (PDT) (envelope-from gnats) Date: Mon, 15 Oct 2001 06:40:02 -0700 (PDT) Message-Id: <200110151340.f9FDe2g90896@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Dima Dorfman Subject: Re: docs/31164: strftime is incorrect Reply-To: Dima Dorfman Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/31164; it has been noted by GNATS. From: Dima Dorfman 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 wrote: > On Sun, Oct 14, 2001 at 11:20:08PM +0000, Dima Dorfman wrote: > > ulrich 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