cal tool doesn't work for some arguments

Bug #1951417 reported by Fi Stach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bsdmainutils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Extending the issue #908233:

cal -w
cal -e
cal -J

also don't work, cal prints the usage info instead of required output.

Separate thing: month names printed by cal [year] in Polish language are incorrect. They should be the same as for example in java

import java.time.Month
import java.time.format.TextStyle

for (int i=1; i<13; i++) {
    System.out.println(Month.of(i).getDisplayName(TextStyle.FULL_STANDALONE, Locale.forLanguageTag("pl-PL")));
}

so
styczeń, luty, marzec, kwiecień, maj, czerwiec, lipiec, sierpień, wrzesień, październik, listopad, grudzień.

Instead they are Stycznia, Lutego, Marca, ... so they are in the inflected form.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bsdmainutils 11.1.2ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
Uname: Linux 4.15.0-91-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.23
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 18 13:29:18 2021
InstallationDate: Installed on 2018-08-13 (1193 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: bsdmainutils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fi Stach (fistach) wrote :
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.