republicandate: deprecate gregorian2FrenchDateArray
This functions wasn't used anywhere, and was just an array using the month name instead of the number. Replaced by the different *_getArray functions.
This commit is contained in:
parent
1e8b0051fa
commit
23b61064ad
1 changed files with 0 additions and 14 deletions
|
@ -115,20 +115,6 @@ function romme_getArray($romme_date_string) {
|
||||||
return $rommeArray;
|
return $rommeArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function gregorian2FrenchDateArray($m, $d, $y)
|
|
||||||
{
|
|
||||||
$rommeArray = gregoriantoromme_getArray($m, $d, $y);
|
|
||||||
|
|
||||||
// get the month name
|
|
||||||
$monthname = FrenchMonthNames($rommeArray[0]) ;
|
|
||||||
|
|
||||||
/* convert the year number to roman digits (as most historians do and documents of the time did */
|
|
||||||
$stryear = $rommeArray[2];
|
|
||||||
|
|
||||||
return array($monthname, $rommeArray[1], $stryear ) ;
|
|
||||||
}
|
|
||||||
|
|
||||||
function FrenchMonthNames($mo)
|
function FrenchMonthNames($mo)
|
||||||
{
|
{
|
||||||
/* The names have been invented by Fabre d'Églantine, a second or rather third rank poet
|
/* The names have been invented by Fabre d'Églantine, a second or rather third rank poet
|
||||||
|
|
Loading…
Reference in a new issue