Your message dated Fri, 05 Nov 2010 13:47:06 +0000
with message-id <[email protected]>
and subject line Bug#597657: fixed in bsdmainutils 8.0.14
has caused the Debian Bug report #597657,
regarding bsdmainutils: strange output of ncal -w with weeks starting on sunday
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
597657: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597657
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bsdmainutils
Version: 8.0.13
Severity: minor

With LC_TIME=C, ncal -w gives strange week numbers for 2010:

$ 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=

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

Why is the week starting at January 3rd numbered 53, not 1?

With option -M, the results looks better:

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


With LC_TIME=de_DE.UTF-8, the result is fine, probably because that
locale implies -M. LC_TIME=de_DE.UTF-8 ncal -w 2010 -S gives the strange
result, again.

The same behaviour occurs for year 2016, which also starts on a Friday.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-rc5-smapi-x61s-amd64-00006-g02a4040 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bsdmainutils depends on:
ii  bsdutils                  1:2.17.2-3.1   Basic utilities from 4.4BSD-Lite
ii  debianutils               3.4            Miscellaneous utilities specific t
ii  libc6                     2.11.2-5       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
ii  cpp                           4:4.4.4-2  The GNU C preprocessor (cpp)
pn  vacation                      <none>     (no description available)
ii  wamerican [wordlist]          6-3        American English dictionary words 
ii  whois                         5.0.7      an intelligent whois client

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: bsdmainutils
Source-Version: 8.0.14

We believe that the bug you reported is fixed in the latest version of
bsdmainutils, which is due to be installed in the Debian FTP archive:

bsdmainutils_8.0.14.dsc
  to main/b/bsdmainutils/bsdmainutils_8.0.14.dsc
bsdmainutils_8.0.14.tar.gz
  to main/b/bsdmainutils/bsdmainutils_8.0.14.tar.gz
bsdmainutils_8.0.14_amd64.deb
  to main/b/bsdmainutils/bsdmainutils_8.0.14_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated bsdmainutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 05 Nov 2010 14:15:37 +0100
Source: bsdmainutils
Binary: bsdmainutils
Architecture: source amd64
Version: 8.0.14
Distribution: unstable
Urgency: low
Maintainer: Debian Bsdmainutils Team <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 bsdmainutils - collection of more utilities from FreeBSD
Closes: 590592 597657 600067 600244
Changes: 
 bsdmainutils (8.0.14) unstable; urgency=low
 .
   * Added option to ncal to use oldstyle cal output. (Closes: #590592)
   * Updated Ubuntu calendar. (Closes: #600067)
   * In hexdump.1 mention that % is a not supported conversion character.
     (Closes: #600244)
   * Bumped Standards version to 8.9.1, no changes needed.
   * Renamed build dependency on python-hdate to reflect package name
     change.
   * Unified some patches and at the same time added a small change to
     use the right weekstart when looking for the first week of the year.
     (Closes: #597657)
Checksums-Sha1: 
 672f3c5bc1cdbc72c3f5bbf57f2c7ad1d63338d0 1007 bsdmainutils_8.0.14.dsc
 1408ba3ab2992b713c1a3ca41f80648e6a7ed84d 268864 bsdmainutils_8.0.14.tar.gz
 d1c2c53be91b85da5cebc906a28e50beadda445c 205614 bsdmainutils_8.0.14_amd64.deb
Checksums-Sha256: 
 7a0769472d5071037166d689368ee35966c62f071e317655da393f1538907817 1007 
bsdmainutils_8.0.14.dsc
 a5467d09e7bd88bfae84101a14ac88df3f7e52b4a8a6a23618bdf1ea5959682d 268864 
bsdmainutils_8.0.14.tar.gz
 793f9d01097c7175f5461d966c60758b4caac1792f16bdec17432a692a348c1f 205614 
bsdmainutils_8.0.14_amd64.deb
Files: 
 bf87ab39ed4abaa51e0ba6a755c9e328 1007 utils important bsdmainutils_8.0.14.dsc
 4aa1af9f6feebe317720a37986d151d1 268864 utils important 
bsdmainutils_8.0.14.tar.gz
 a727e3eee07530b925f7770bd6f72977 205614 utils important 
bsdmainutils_8.0.14_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFM1Am5VkEm8inxm9ERAoS7AJ0YTrP+XATx6hMRAK1s4/pL+EGC/ACePPM9
MTIzoFJwpL/pkWheTteZ/3Q=
=xLZb
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to