republicandate: rename extended_jdtofrench_romme to jdtoromme

The old function name was too verbose.
This commit is contained in:
Kazhnuz 2018-11-07 13:43:58 +01:00
parent df60538787
commit ef296b2a52

View file

@ -1,6 +1,6 @@
<?php <?php
function extended_jdtofrench_romme ($juliandate) { function jdtoromme($juliandate) {
$debugCalendar = 0; $debugCalendar = 0;
// jdtofrench () n'accepte que les dates dépassant . On calcule donc grace au systeme Romme la date révolutionaire // jdtofrench () n'accepte que les dates dépassant . On calcule donc grace au systeme Romme la date révolutionaire
@ -89,7 +89,7 @@ function extended_jdtofrench_romme ($juliandate) {
function gregorian2FrenchDateArray($m, $d, $y) function gregorian2FrenchDateArray($m, $d, $y)
{ {
$julian_date = gregoriantojd($m, $d, $y); $julian_date = gregoriantojd($m, $d, $y);
$french = extended_jdtofrench_romme($julian_date); $french = jdtoromme($julian_date);
if($french == "0/0/0") if($french == "0/0/0")
return "" ; return "" ;
$arD = explode("/", $french) ; $arD = explode("/", $french) ;
@ -180,7 +180,7 @@ function FrenchOrdinalNumber($Day) {
function gregorian2FrenchDateString($m,$d,$y) { function gregorian2FrenchDateString($m,$d,$y) {
$julian_date = gregoriantojd($m, $d, $y); $julian_date = gregoriantojd($m, $d, $y);
$french = extended_jdtofrench_romme($julian_date); $french = jdtoromme($julian_date);
if($french == "0/0/0") if($french == "0/0/0")
return "" ; return "" ;
@ -204,7 +204,7 @@ function gregorian2FrenchDateString($m,$d,$y) {
function gregorian2FrenchDateStringShort($m,$d,$y) { function gregorian2FrenchDateStringShort($m,$d,$y) {
$julian_date = gregoriantojd($m, $d, $y); $julian_date = gregoriantojd($m, $d, $y);
$french = extended_jdtofrench_romme($julian_date); $french = jdtoromme($julian_date);
if($french == "0/0/0") if($french == "0/0/0")
return "" ; return "" ;