From 23b61064ad2923290c60402dbf8a967fc26cbfe4 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 7 Nov 2018 15:54:17 +0100 Subject: [PATCH] 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. --- republicandate.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/republicandate.php b/republicandate.php index d4e6599..1957b5b 100644 --- a/republicandate.php +++ b/republicandate.php @@ -115,20 +115,6 @@ function romme_getArray($romme_date_string) { 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) { /* The names have been invented by Fabre d'Églantine, a second or rather third rank poet