update readme to show the new function names

This commit is contained in:
Kazhnuz 2018-11-09 11:26:07 +01:00
parent 784d0351f1
commit eb48349ce5
1 changed files with 7 additions and 3 deletions

View File

@ -6,10 +6,14 @@ Le script peut afficher soit une date minimale (style 23 Brumaire, an 225) soit
## Comment l'utiliser. ## Comment l'utiliser.
### Obtenir la date d'aujourd'hui dans le calendrier révolutionnaire romme
````php ````php
include(republicandate.php); include(romme-calendar.php);
echo gregorian2FrenchDateString($m,$d,$y); //affiche la date complète + la plante du jour. // Comment afficher la date "simple" (jour+mois+année). $showDecadeDayName détermine si vous affichez le nom du jour de la décade
echo gregorian2FrenchDateStringShort($m,$d,$y); //affiche la date réduite echo datetoromme_getFormattedString($showDecadeDayName);
// Comment afficher la date "complete" (jour+mois+épiphany+année)
echo datetoromme_getFormattedStringComplete();
```` ````
## Crédits ## Crédits