romme-calendar: rename date_romme() to datetoromme()

This commit is contained in:
Kazhnuz 2018-11-09 11:10:25 +01:00
parent e1f66cac33
commit 7c9b78d749
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ $testJulianday = gregoriantojd($testMois, $testJour, $testAnnee);
<p>
<strong>jdtoromme :</strong> <?php echo jdtoromme( $testJulianday );?> <br />
<strong>gregoriantoromme :</strong> <?php echo gregoriantoromme($testMois, $testJour, $testAnnee);?><br />
<strong>date_romme :</strong> <?php echo date_romme();?><br />
<strong>date_romme :</strong> <?php echo datetoromme();?><br />
</p>
<h2>Getting the month/day/year</h2>

View File

@ -118,7 +118,7 @@ function gregoriantoromme($m, $d, $y) {
return $romme_date_string;
}
function date_romme() {
function datetoromme() {
return gregoriantoromme(date('n'), date('j'), date('Y'));
}