Jean Forget > Date-Convert-French_Rev > r2g_table

Download:
Date-Convert-French_Rev-0.05.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

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

SYNOPSIS ^

r2g_table [--columns=nb] [--example=date] [--lang=language] [--table-workaround]

DESCRIPTION ^

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.

OPTIONS ^

columns

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.

example

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.

lang

Select the language that will be used for all language-dependant elements, including the instructions for use. Available languages are:

en

English (default)

us

English, with the Gregorian dates formatted in the US way (December 1, 2001)

fr

French

table-workaround

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.

AUTHOR ^

Jean Forget <JFORGET@cpan.org>