Classic mode doesnt work with week numbers

Bug #1736785 reported by Brook Harty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bsdmainutils (Ubuntu)
Incomplete
Undecided
Rolf Leggewie

Bug Description

ncal in package 9.0.12+nmu1ubuntu1 doesn't work with week numbers in classic mode.

ncal -w -b -3 should show weeks, it doesnt.

ncal works properly in 9.0.14ubuntu1, the fix needs back ported to 17.10 from 18.04 daily.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: bsdmainutils 9.0.12+nmu1ubuntu1
Uname: Linux 4.14.2-xanmod5 x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
CurrentDesktop: MATE
Date: Wed Dec 6 11:36:26 2017
InstallationDate: Installed on 2017-11-20 (16 days ago)
InstallationMedia: Ubuntu-MATE 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: bsdmainutils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brook Harty (brookharty) wrote :
Revision history for this message
Brook Harty (brookharty) wrote :

$ ncal -w -b -3
   November 2017 December 2017 January 2018
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
          1 2 3 4 1 2 1 2 3 4 5 6
 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13
12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20
19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27
26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 31
                      31

Working ncal in classic mode.

./ncal.18.04 -w -b -3
      November 2017 December 2017 January 2018
 w| Su Mo Tu We Th Fr Sa w| Su Mo Tu We Th Fr Sa w| Su Mo Tu We Th Fr Sa
44| 1 2 3 4 48| 1 2 53| 1 2 3 4 5 6
45| 5 6 7 8 9 10 11 49| 3 4 5 6 7 8 9 1| 7 8 9 10 11 12 13
46| 12 13 14 15 16 17 18 50| 10 11 12 13 14 15 16 2| 14 15 16 17 18 19 20
47| 19 20 21 22 23 24 25 51| 17 18 19 20 21 22 23 3| 21 22 23 24 25 26 27
48| 26 27 28 29 30 52| 24 25 26 27 28 29 30 4| 28 29 30 31
                           53| 31

Revision history for this message
Rolf Leggewie (r0lf) wrote :

works fine for me in focal. Is this still an issue?

Changed in bsdmainutils (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
Norbert (nrbrtx)
tags: removed: artful
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.