marronniers

French editorial calendar (marronniers) from September 2026 to December 2027: public holidays, celebrations, retail dates, world days, school holidays and sales, with sectors, source and a post idea for each date.
https://lescreavores.fr/outils/generateur-calendrier-editorial/

To install, run:

haxelib install marronniers 0.1.0 

See using Haxelib in Haxelib documentation for more information.

README.md

marronniers

Dependency-free Haxe library published by Les Créavores.

French editorial calendar ("marronniers", the recurring dates the French press and brands write about every year), from September 2026 to December 2027. Use it to plan social media posts, newsletters or blog articles around dates that matter to a French audience.

  • 139 dates, from 2026-09-14 to 2027-12-31 (one range ends on 2028-01-03)
  • Types: ferie (public holiday), fete (celebration), commercial (retail date), journee (world or national day), vacances (school holidays), saison (sales and seasons)
  • 7 sectors: commerce, restauration, beaute, artisanat, b2b, sante, immobilier; entries tagged tous apply to every sector
  • Each entry gives its source and one post idea ("angle"), in French
import marronniers.Marronniers;

// Every date of May 2027, sorted by start date
for (m in Marronniers.forMonth(2027, 5))
	trace('${m.date} ${m.libelle}'); // ... 2027-05-30 Fête des mères ...

// Dates for a restaurant (entries tagged "tous" included)
var food = Marronniers.forSector("restauration");

// Public holidays only
var holidays = Marronniers.byType("ferie");

// Any entry overlapping a range (inclusive, YYYY-MM-DD)
var q4 = Marronniers.between("2026-10-01", "2026-12-31");

// Next 5 dates not finished on a given day (ongoing ranges included)
var next = Marronniers.upcoming("2026-11-20", 5);

// Sector ids and French labels
var ids = Marronniers.sectors();

Each entry is a Marronnier with string fields date, dateFin (last day, equal to date for a single day), libelle, type, secteurs (comma separated ids), source and angle. Every function returns a new array sorted by start date.

Method

Each date is either fixed (public holiday, world day with a fixed date, dated tradition), computed from a public rule (Easter 2027 = 28 March; Mother's Day = last Sunday of May unless it is Whit Sunday; Black Friday = the day after the 4th Thursday of November; sales = French commercial code), or read in an official text (orders setting the school calendars 2026-2027 and 2027-2028, sales calendar of the French Ministry of the Economy). World days without a fixed date or a public rule are deliberately left out.

The data is generated from the file behind the online tool, and the tests compare every field of every entry with that file: online editorial calendar generator.

Licence

MIT, see LICENSE.

Contributors
lescreavores
Version
0.1.0
Published
6 weeks ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂