From eb48349ce52f3d3c2e441521c24de449c85d8748 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 9 Nov 2018 11:26:07 +0100 Subject: [PATCH] update readme to show the new function names --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 561b179..7af8ca0 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,14 @@ Le script peut afficher soit une date minimale (style 23 Brumaire, an 225) soit ## Comment l'utiliser. +### Obtenir la date d'aujourd'hui dans le calendrier révolutionnaire romme + ````php -include(republicandate.php); -echo gregorian2FrenchDateString($m,$d,$y); //affiche la date complète + la plante du jour. -echo gregorian2FrenchDateStringShort($m,$d,$y); //affiche la date réduite +include(romme-calendar.php); +// Comment afficher la date "simple" (jour+mois+année). $showDecadeDayName détermine si vous affichez le nom du jour de la décade +echo datetoromme_getFormattedString($showDecadeDayName); +// Comment afficher la date "complete" (jour+mois+épiphany+année) +echo datetoromme_getFormattedStringComplete(); ```` ## Crédits