Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1018041

Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives

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-15 12:20 +0200
Message-ID <AsMG6-x4-5@gated-at.bofh.it> (permalink)
References (2 earlier) <AsrBD-4z2-1@gated-at.bofh.it> <AssR3-5tM-11@gated-at.bofh.it> <AszIR-14w-7@gated-at.bofh.it> <AqnLP-1P0-13@gated-at.bofh.it> <AszIR-14w-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> The locale doesn’t contain enough information to calculate calendar
> weeks:
> https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html

Well, our locales do I think.

> There’s neither a data field for the first day of the week, nor one
> for
> the various ways to calculate a calendar week.

But there are, for instance:

michael@feivel:~$ locale -kc week-1stweek
LC_TIME
week-1stweek=1

> In the end I just need a reliable way to get at German (= ISO)
> calendar weeks, for use in business environments, and found that,
> rather than having to write code myself, I could use OpenBSD’s cal,
> which has an option for specifically this (although only for years
> 1753‥9999, same as ncal).

I haven't seen any error in ncal so far, but if you see some it might
be more helpful to report and/or fix those as ncal should not show
incorrect data.

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


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