r2g_table - Print a few charts which can be used to convert a date from the French Revolutionary calendar to the Gregorian calendar.
r2g_table [--columns=nb] [--example=date] [--lang=language] [--table-workaround]
This program prints three tables, plus a small text showing how to use these tables. The output uses the HTML format. When printed from a table-aware web browser, these tables allow a computer-less user to convert dates from the French Revolutionary calendar to the Gregorian calendar.
The number of columns in the the first table. This must be a multiple of 4, plus 1. With 5, you get a narrow table with many lines, while with 13 or even 17, you get a wide table with fewer lines.
The instructions for use need a date as an example. The user can select the date that will be used as an example (French Revolution date, YYYYMMDD numeric format). Actually, the instructions use two examples: the first one not in Ventôse, the second one in Ventôse. If the user provides a date in Ventôse, the program will select a random month for the first example.
Select the language that will be used for all language-dependant elements, including the instructions for use. Available languages are:
English (default)
English, with the Gregorian dates formatted in the US way (December 1, 2001)
French
I have noticed that when one of the web browsers I use renders tables, it has problems with plain text following the tables, and it might skip a few plain text lines. In the present case, the first lines of the instructions for use disappear. The workaround I have found consists in building a table around the instructions for use. This option triggers this workaround.
Jean Forget <JFORGET@cpan.org>
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Ventôse,'. Assuming CP1252
To install Date::Convert::French_Rev, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Date::Convert::French_Rev
CPAN shell
perl -MCPAN -e shell install Date::Convert::French_Rev
For more information on module installation, please visit the detailed CPAN module installation guide.