Une librairie PHP pour couvertir facilement une date dans le calendrier républicain, utilisant le système Romme.
Go to file
Kazhnuz d39db03b18 romme-calendar: add a way to get formatted string from current date 2018-11-09 11:19:33 +01:00
LICENSE Add license 2016-11-13 18:27:30 +01:00
README.md rebrand librairy as a romme republican calendar converter 2018-11-07 16:54:12 +01:00
exemple.php romme-calendar: add a way to get formatted string from current date 2018-11-09 11:19:33 +01:00
republicandate.php republicandate: simplify epiphany handling 2018-11-07 16:43:22 +01:00
romme-calendar.php romme-calendar: add a way to get formatted string from current date 2018-11-09 11:19:33 +01:00

README.md

PHP Romme Republican Calendar

Une librairie PHP pour couvertir facilement une date dans le calendrier républicain, utilisant le système Romme.

Le script peut afficher soit une date minimale (style 23 Brumaire, an 225) soit une date plus complexe (Tridi, 23 Brumaire, an 225 - Garance).

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