Crate pcal

Crate pcal 

Source
Expand description

§pcal

A terminal-based Shahanshahi (Imperial Persian) calendar inspired by cal.

Displays months and years in the Shahanshahi calendar system with support for today highlighting, Persian script output, and day-of-year numbering.

Modules§

calendar
Month grid computation for building calendar layouts. Month grid computation for the Shahanshahi calendar.
cli
Command-line argument definitions using clap. Command-line argument definitions for pcal.
display
Colored terminal output with today highlighting. Colored terminal output for the calendar.
formatter
Plain-text calendar formatting without color. Plain-text calendar formatting without ANSI colors.
persian
Persian month/weekday names, numeral conversion, and month parsing. Persian calendar data: month names, weekday names, and numeral conversion.
shahanshahi
Shahanshahi (Imperial Persian) to Gregorian date conversion. Shahanshahi (Imperial Persian) calendar conversion.