Une librairie PHP pour couvertir facilement une date dans le calendrier républicain, utilisant le système Romme.
Go to file
Kazhnuz b9f0a81178 romme-calendar: prefix name getting functions with repcal_
They don't use the romme date string, and are pretty generic for any republican calendar.
2018-11-08 21:55:54 +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 date_romme 2018-11-07 17:57:54 +01:00
republicandate.php republicandate: simplify epiphany handling 2018-11-07 16:43:22 +01:00
romme-calendar.php romme-calendar: prefix name getting functions with repcal_ 2018-11-08 21:55:54 +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