[Bug 286970] cal(1): October 1582

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 May 2025 14:33:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286970

--- Comment #2 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> ---
Yep.

The ncal(1) seems to work as desired.

% /usr/bin/cal -s PL 10 1582 
Usage: cal [general options] [-hjy] [[month] year]
       cal [general options] [-hj] [-m month] [year]
       ncal [general options] [-hJjpwy] [-s country_code] [[month] year]
       ncal [general options] [-hJeo] [year]
General options: [-NCM3] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]



% /usr/bin/ncal -s PL 10 1582
    October 1582      
Mo  1 18 25         
Tu  2 19 26         
We  3 20 27         
Th  4 21 28         
Fr 15 22 29         
Sa 16 23 30         
Su 17 24 31         



% /usr/bin/ncal -p           
 AL Albania        1912-11-30      IS Iceland        1700-11-16
 AT Austria        1583-10-05      IT Italy          1582-10-04
 AU Australia      1752-09-02      JP Japan          1918-12-18
 BE Belgium        1582-12-14      LT Lithuania      1918-02-01
 BG Bulgaria       1916-03-31      LU Luxembourg     1582-12-14
 CA Canada         1752-09-02      LV Latvia         1918-02-01
 CH Switzerland    1655-02-28      NL Netherlands    1582-12-14
 CN China          1911-12-18      NO Norway         1700-02-18
 CZ Czech Republic 1584-01-06      PL Poland         1582-10-04
 DE Germany        1700-02-18      PT Portugal       1582-10-04
 DK Denmark        1700-02-18      RO Romania        1919-03-31
 ES Spain          1582-10-04      RU Russia         1918-01-31
 FI Finland        1753-02-17      SI Slovenia       1919-03-04
 FR France         1582-12-09      SE Sweden         1753-02-17
 GB United Kingdom 1752-09-02      TR Turkey         1926-12-18
 GR Greece         1924-03-09     *US United States  1752-09-02
 HU Hungary        1587-10-21      YU Yugoslavia     1919-03-04

Regards,
vermaden

-- 
You are receiving this mail because:
You are the assignee for the bug.