prt_cal -- print a French Revolutionary calendar
prt_cal [--lang=I<language>] [--kitten=I<file>] year
This program prints a calendar, using the French Revolutionary calendar. It is not limited to the historical period when this calendar was in use, you can ask for any year after its beginning. For example, you can print the calendar for the year 211, which corresponds to 2002-2003 in the Gregorian calendar. The output is in HTML, and contains brief indications for which Gregorian date corresponds to each French Revolutionary date.
Some values are language dependant: Gregorian weekday initials, Gregorian month abbreviations and a few titles. You can select which language you will use. Known languages are:
English (default)
French
In France, traditionnally, the postal service sells calendars for the next year during November / December. These calendars usually have the picture of one or more kittens in a basket, or a mountainous landscape. So, you can do the same with this program, by specifying a JPEG or GIF URL, which contains the photo of kittens or a picture of mountains. Don't even think of using anything else, especially pictures involving scantily clad ladies.
You can try
https://images.google.com/images?hl=en&lr=&ie=ISO-8859-1&output=search&q=kitten+basket https://images.google.com/images?hl=en&lr=&ie=ISO-8859-1&output=search&q=mountains
but do not even think about
https://images.google.com/images?q=Delacroix+libert%C3%A9+guidant+peuple&hl=en&lr=&ie=UTF-8&output=search
There is a single parameter, the year, according to the French Revolutionary calendar. This parameter is numeric (Roman number not permitted).
If given several years, the program prints all the requested calendars on standard output as a single stream. There are HTML delimiters for each, but they are concatenated.
Jean Forget <JFORGET@cpan.org>
Copyright (c) 2003, 2004, 2010, 2012, 2014, 2016, 2019, 2021 Jean Forget. All rights reserved. This program is free software. You can distribute, adapt, modify, and otherwise mangle DateTime::Calendar::FrenchRevolutionary under the same terms as perl 5.16.3.
This program is distributed under the same terms as Perl 5.16.3: GNU Public License version 1 or later and Perl Artistic License
You can find the text of the licenses in the LICENSE file or at https://dev.perl.org/licenses/artistic.html and https://www.gnu.org/licenses/gpl-1.0.html.
Here is the summary of GPL:
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see https://www.gnu.org/licenses/ or contact the Free Software Foundation, Inc., https://www.fsf.org.
To install DateTime::Calendar::FrenchRevolutionary, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Calendar::FrenchRevolutionary
CPAN shell
perl -MCPAN -e shell install DateTime::Calendar::FrenchRevolutionary
For more information on module installation, please visit the detailed CPAN module installation guide.