Module formatter

Module formatter 

Source
Expand description

Plain-text calendar formatting without color. Plain-text calendar formatting without ANSI colors.

Used for generating uncolored output and in unit tests. Produces fixed-width text suitable for side-by-side month layouts.

Functions§

format_month
Render a single month as lines of text. Each line is exactly MONTH_WIDTH characters wide.
format_months
Render multiple months side-by-side, 3 per row.
format_year
Render all 12 months of a year as lines of text (4 rows × 3 columns).