Une librairie PHP pour couvertir facilement une date dans le calendrier républicain, utilisant le système Romme.
Go to file
Kazhnuz b2e49ab064 romme-calendar: add functions to get month/day names from date string
It'll allow the user to get these usefull infos directly from a date string, without having to convert it first
2018-11-08 22:22:23 +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 functions to get month/day names from date string 2018-11-08 22:22:23 +01:00
republicandate.php republicandate: simplify epiphany handling 2018-11-07 16:43:22 +01:00
romme-calendar.php romme-calendar: add functions to get month/day names from date string 2018-11-08 22:22:23 +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