Package: bsdmainutils
Version: 9.0.6
Severity: normal

The "calendar" program erroneously gives the December 2015 solstice as occurring on December 1st.

$ calendar -t 20151201 | grep 'Solstice'
Dec 01  Winter Solstice (shortest day of the year)

The correct date (December 21st) is already included.

$ calendar -t 20151221 | grep Solstice
Dec 21* Winter Solstice

It seems to be a problem in /usr/share/calendar/calendar.unitedkingdom; in particular, the line where the date of the solstice is defined:

https://sources.debian.net/src/bsdmainutils/9.0.6/debian/calendars/calendar.unitedkingdom/#L58

The same bug appears to be reported here:

https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1430799

This also affects Debian unstable.

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bsdmainutils depends on:
ii  bsdutils     1:2.25.2-6
ii  debianutils  4.4+b1
ii  libc6        2.19-18+deb8u1
ii  libncurses5  5.9+20140913-1+b1
ii  libtinfo5    5.9+20140913-1+b1

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
ii  cpp                   4:4.9.2-2
pn  vacation              <none>
ii  wamerican [wordlist]  7.1-1
ii  whois                 5.2.7

-- no debconf information

Reply via email to