| Summary: | man page for strftime is incorrect | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | ulrich <ulrich> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
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? > >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| 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. > Hello This was a problem with an incorrect manual page. This was fixed in : src/lib/libc/stdtime/strftime.3 v. 1.25 and MFC'ed as 1.18.2.8. Therefore I think this PR can be closed. -- Simon L. Nielsen State Changed From-To: open->closed This has already been merged to STABLE. Thanks to Simon L. Nielsen for letting us know this can be closed now. |
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." How-To-Repeat: date "+%a|" reveals that an additional blank is appended