Interesting factoid: Russia's "October Revolution" actually took place in November in most of the rest of the world!
(edit: I had originally said ncal works on all "POSIX" systems but that turned out to be incorrect)
Interesting factoid: Russia's "October Revolution" actually took place in November in most of the rest of the world!
(edit: I had originally said ncal works on all "POSIX" systems but that turned out to be incorrect)
$ ncal -p
AL Albania 1912-11-30 IT Italy 1582-10-04
AT Austria 1583-10-05 JP Japan 1918-12-18
AU Australia 1752-09-02 LI Lithuania 1918-02-01
BE Belgium 1582-12-14 LN Latin 9999-05-31
BG Bulgaria 1916-03-18 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 SW 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
IS Iceland 1700-11-16 1582-10-04 ES Spain
1582-10-04 IT Italy
1582-10-04 PL Poland
1582-10-04 PT Portugal
1582-12-09 FR France
1582-12-14 BE Belgium
1582-12-14 LU Luxembourg
1582-12-14 NL Netherlands
1583-10-05 AT Austria
1584-01-06 CZ Czech Republic
1587-10-21 HU Hungary
1655-02-28 CH Switzerland
1700-02-18 DE Germany
1700-02-18 DK Denmark
1700-02-18 NO Norway
1700-11-16 IS Iceland
1752-09-02 AU Australia
1752-09-02 CA Canada
1752-09-02 GB United Kingdom
1752-09-02 US United States
1753-02-17 FI Finland
1753-02-17 SW Sweden
1911-12-18 CN China
1912-11-30 AL Albania
1916-03-18 BG Bulgaria
1918-01-31 RU Russia
1918-02-01 LI Lithuania
1918-02-01 LV Latvia
1918-12-18 JP Japan
1919-03-04 SI Slovenia
1919-03-04 YU Yugoslavia
1919-03-31 RO Romania
1924-03-09 GR Greece
1926-12-18 TR Turkey
9999-05-31 LN LatinMaybe Mexico and Canada would not be listed, after both have been made part of the new USNA (United States of North America).
Just a thought.
It seems unlikely that what is now Slovenia would use a different calendar than the rest of the Habsburg Monarchy/Austrian Empire for such a long time, particularly since there was no subdivision of the Empire that directly corresponds to modern Slovenia.
https://upload.wikimedia.org/wikipedia/commons/4/46/Italy_17...
This was how it looked as late as 1796...
(And, BTW, if you do have a need for older dates, it's very troublesome to project the Gregorian calendar back before its adoption-- use the Julian day count method instead. It's goofy but well-adopted and well-supported.)
I think the number was grandfathered in from British Commonwealth.
I found the Apple source code for ncal [2], but no answers there. Also it is funny that Latin line has the month entered in octal (05).
[0] https://hackingtom.blogspot.de/2012/04/date-of-easter-and-nc...
[2] https://opensource.apple.com/source/misc_cmds/misc_cmds-32/n...
I look forward to being dead long before the Y10k problem crops up.
[0] https://opensource.apple.com/source/misc_cmds/misc_cmds-32/n...
(Unless you read stuff such as Karl M.'s 18th Brummaire of Louis Bonaparte, but then you're beyond help.)
> If you're on a POSIX machine.
Don't you just mean some Linux distros & BSDs? I don't see any indication that ncal is standardized by POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/idx/utilitie...According to the Linux manpage it's a FreeBSD command originally introduced in FreeBSD 2.2.6 in 1998: https://www.freebsd.org/releases/2.2.6R/announce.html