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


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

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

From Thorsten Glaser <tg@mirbsd.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#964566: ncal: please handle /usr/bin/cal + manpage via alternatives
Date 2020-07-16 18:00 +0200
Message-ID <AtesF-ek-1@gated-at.bofh.it> (permalink)
References (9 earlier) <At6Y9-4a9-1@gated-at.bofh.it> <AtaS6-6HD-7@gated-at.bofh.it> <AtbEu-6Yl-5@gated-at.bofh.it> <AqnLP-1P0-13@gated-at.bofh.it> <AtbEu-6Yl-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Michael Meskes dixit:

>Do you have any documentation about the US system that is kind of
>official? I doubt anyone in the States uses week numbers, but there may
>be an official way nonetheless.

https://de.wikipedia.org/wiki/Woche#Berechnung_in_den_USA_und_vielen_anderen_L%C3%A4ndern
so far, plus the fact that many tools show wrong week numbers for Europeans
while Americans complain about wrong week numbers in other tools.

Also as an example:

$ kwal -mw 1 2005
    January 2005
Mo Tu We Th Fr Sa Su
                1  2 [53]
 3  4  5  6  7  8  9 [ 1]
10 11 12 13 14 15 16 [ 2]
17 18 19 20 21 22 23 [ 3]
24 25 26 27 28 29 30 [ 4]
31                   [ 5]
$ kwal -w 1 2005
    January 2005
Su Mo Tu We Th Fr Sa
                   1 [ 1]
 2  3  4  5  6  7  8 [ 2]
 9 10 11 12 13 14 15 [ 3]
16 17 18 19 20 21 22 [ 4]
23 24 25 26 27 28 29 [ 5]
30 31                [ 6]
$ ncal -w 1 2005
    January 2005
Su     2  9 16 23 30
Mo     3 10 17 24 31
Tu     4 11 18 25
We     5 12 19 26
Th     6 13 20 27
Fr     7 14 21 28
Sa  1  8 15 22 29
   52  1  2  3  4  5

The first one is correct for Germany. The second one is correct for USA
according to that documentation above. The third… whatever it is, is what
ncal does.

bye,
//mirabilos
-- 
22:20⎜<asarch> The crazy that persists in his craziness becomes a master
22:21⎜<asarch> And the distance between the craziness and geniality is
only measured by the success 18:35⎜<asarch> "Psychotics are consistently
inconsistent. The essence of sanity is to be inconsistently inconsistent

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