Une librairie PHP pour couvertir facilement une date dans le calendrier républicain, utilisant le système Romme.
Go to file
Kazhnuz c655ee5347 republicandate: invert sansculottide day+month string and epiphany
It make the string easier to use, as the day+month string helps more the user to see where he is in the romme year now.
2018-11-07 16:34:43 +01:00
LICENSE Add license 2016-11-13 18:27:30 +01:00
README.md Commit initial 2016-11-13 18:26:24 +01:00
exemple.php republicandate: invert sansculottide day+month string and epiphany 2018-11-07 16:34:43 +01:00
republicandate.php republicandate: invert sansculottide day+month string and epiphany 2018-11-07 16:34:43 +01:00

README.md

Republicain-Calendar-PHP

Juste un petit convertisseur de date en calendrier républicain pour ceux qui le souhaite. Le script peut afficher soit une date minimale (style 23 Brumaire, an 225) soit une date plus complexe (Tridi, 23 Brumaire, an 225 - Garance).

Il utilise le système Romme pour calculer la date.

Comment l'utiliser.

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

Crédits

  • extended_jdtofrench par pieterc

  • une grande autre partie du script par squenz