Bug#676426: /usr/bin/ncal: Week numbers (ncal -w) are incorrect (+1)

2012-06-11 Thread Michael Meskes
On Wed, Jun 06, 2012 at 10:35:38PM +0200, Pieter Jansen wrote:
 According to google, this week's number is 23 and not 24. I had an argument 
 with my wife about this, because her calendar said 23 and I swore ncal 
 couldn't be wrong. Turns out I was wrong anyway.

Well, partly. Yes, it was week 24 last week, but ncal was right if used in a
locale that starts the week on Monday. If you start on Sunday, as you do in
locale C, the adjustments was made incorrectly, a fix will come shortly. Sorry
for messing with you family life.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#676426: /usr/bin/ncal: Week numbers (ncal -w) are incorrect (+1)

2012-06-06 Thread Pieter Jansen
Package: bsdmainutils
Version: 8.0.13
Severity: important
File: /usr/bin/ncal

[22:34] [pj@p3:~] % date
Wed Jun  6 22:34:37 CEST 2012
[22:34] [pj@p3:~] % ncal -w
June 2012
Mo 4 11 18 25
Tu 5 12 19 26
We 6 13 20 27
Th 7 14 21 28
Fr  1  8 15 22 29
Sa  2  9 16 23 30
Su  3 10 17 24
   23 24 25 26 27
[22:34] [pj@p3:~] % locale
LANG=C
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=

According to google, this week's number is 23 and not 24. I had an argument 
with my wife about this, because her calendar said 23 and I swore ncal couldn't 
be wrong. Turns out I was wrong anyway.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages bsdmainutils depends on:
ii  bsdutils  1:2.17.2-9 Basic utilities from 4.4BSD-Lite
ii  debianutils   2.30   Miscellaneous utilities specific t
ii  libc6 2.7-18lenny7   GNU C Library: Shared libraries
ii  libncurses5   5.7+20100313-5 shared libraries for terminal hand

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
ii  cpp   4:4.3.2-2  The GNU C preprocessor (cpp)
pn  vacation  none (no description available)
pn  wamerican | wordlist  none (no description available)
ii  whois 5.0.10 an intelligent whois client

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org