Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1018139
| From | Michael Meskes <meskes@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives |
| Date | 2020-07-16 10:00 +0200 |
| Message-ID | <At6Y9-4a9-1@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <AsRZ7-3As-3@gated-at.bofh.it> <AsT4R-4rc-15@gated-at.bofh.it> <AsUNj-5f0-7@gated-at.bofh.it> <AqnLP-1P0-13@gated-at.bofh.it> <AsUNj-5f0-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2020-07-15 at 18:50 +0000, Thorsten Glaser wrote: > Michael Meskes dixit: > > >> b�& nor does ncal use the locale for this, so, no, it does not use > >> appropriate calendar week calculation rules. > > > >This is simply not true since it definitely does. > > I looked before writing that eMail, so it’s true; ncal uses the > locale > to look up a country code, which then is used to determine the date > of > the julian→gregorian calendar switch. That’s it exactly, nothing > more. Huh? I don't think so: $ grep -r nl_langinfo ncal/* ncal/calendar.c: if ((wd = weekday(nd) + 1 - weekstart) >= *nl_langinfo(_NL_TIME_WEEK_1STWEEK)) ncal/ncal.c: u.str = nl_langinfo(_NL_TIME_WEEK_1STDAY); ncal/ncal.c: weekstart = *nl_langinfo(_NL_TIME_FIRST_WEEKDAY) + (ndaysj(&first_week_d) - ndaysj(&sunday)) % 7 - 1; Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-08 21:20 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-13 14:50 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-14 13:50 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-14 15:10 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-14 22:30 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-15 12:20 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-15 18:00 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-15 19:10 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-15 21:00 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-16 10:00 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-16 14:10 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-16 15:00 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-16 18:00 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Michael Meskes <meskes@debian.org> - 2020-07-17 11:10 +0200
Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives Thorsten Glaser <tg@mirbsd.de> - 2020-07-17 16:10 +0200
csiph-web