Default View: Todayβs Timings
Without any flags, Ramadan CLI shows timings for the current day:Full Month View
Use the--all or -a flag to display all 30 days of Ramadan:
Example Output
Calendar Annotations
When viewing the full calendar, rows are annotated to show:β current: The current roza (green) - only during Ramadanβ next: The next upcoming roza (yellow)
Annotations are automatically calculated based on:
- Current Hijri date (when using API-based dates)
- Custom first roza date (when using
--first-roza-date) - Your local timezone
Specific Roza Selection
View timings for any specific roza day (1-30) using the--number or -n flag:
Example
The
--number flag accepts values from 1 to 30, corresponding to the days of Ramadan.Flag Validation
You cannot combine--all and --number flags:
Calendar Data Sources
API-Based Calendar (Default)
By default, Ramadan CLI fetches the Hijri calendar for Ramadan (month 9) from the Aladhan API:Custom Date Calendar
When using--first-roza-date, the calendar is built differently:
Calendar Features
Time Format
All times are displayed in 12-hour format with AM/PM:Date Columns
Each row includes:- Roza: Day number (1-30)
- Sehar: Fajr prayer time (start of fast)
- Iftar: Maghrib prayer time (break fast)
- Date: Gregorian date (DD-MM-YYYY)
- Hijri: Islamic date with month name and year
Sehar uses the Fajr prayer time, and Iftar uses the Maghrib prayer time. This is the standard practice across most Muslim communities.
Combining with Other Flags
Calendar with Different Cities
Calendar with Custom First Date
Plain Text Output
JSON Output
Get structured calendar data:Performance Considerations
When fetching the full calendar:1
API-Based Calendar
Makes a single API call to fetch all 30 days of Ramadan using the Hijri calendar endpoint.Fast β‘ - Single HTTP request
2
Custom Date Calendar
Makes 30 parallel API calls to fetch prayer times for each individual day.Slower π - 30 HTTP requests (but executed in parallel)
City Aliases
Ramadan CLI supports convenient city aliases:Related Features
- Location Detection - How your location is determined
- Custom First Roza - Override Ramadan start date
- Output Modes - JSON, status line, and plain text formats