
g2r_table - Print a few charts which can be used to convert a date from the Gregorian calendar to the French Revolutionary calendar.

g2r_table [--columns=number] [--example=date] [--lang=language] [--table-workaround]

This program prints five 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 Gregorian calendar to the French Revolutionary calendar.

The number of columns in the first table. This number must be a multiple of 4 (because of the 4-year quasi-cycle for leap days) plus one (for the first line, giving year intervals). So you can choose 5, 9, 13 or 17. Higher number are allowed, but they will not give beutiful results.
The instructions for use need a date as an example. The user can select the date that will be used as an example (Gregorian date, YYYYMMDD numeric format). Actually, the instructions use two examples: the first one not in September, the second one in September. If the user provides a date in September, 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.
I have noticed that when my web browser renders and prints 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>