Prayer
Prayer
Section titled “Prayer”Log a prayer — p (alias pray)
Section titled “Log a prayer — p (alias pray)”Logs a prayer for the current (or specified) slot. Pressing Enter confirms. Prayer times are calculated offline for the resolved city from fixed coordinates and the University of Tehran solar-angle convention; the app makes no network request.
| Usage | Meaning |
|---|---|
p |
Log the current slot (auto-guessed from the time) |
p -15 |
15 minutes before the fixed prayer time |
p 05:30 |
Explicitly at 05:30 (slot guessed from the hour) |
p j |
With jamaat (no location) |
p j masjid |
With jamaat at a given location |
p s 3 |
With a shak (doubt) count of 3 |
Offsets and times use the shared time-expression syntax.
Prayer window boundaries
Section titled “Prayer window boundaries”Each merged slot opens at its adhan and runs to a fiqh deadline (Khamenei’s risala):
| Slot | Window opens | فضیلت (green) ends | Deadline |
|---|---|---|---|
| Fajr | Fajr adhan (17.7°) | Eastern redness apparent (اسفار, −14°) | Sunrise |
| Dhuhr & Asr | Dhuhr adhan | Post-zuwal shadow equals the gnomon | Sunset |
| Maghrib & Isha | Maghrib adhan (4.5°, red twilight حمره gone) | White twilight (شفق ابیض) gone (−14°; ≈45–55 min after the adhan) | Shar’i midnight (sunset → next Fajr midpoint) |
The prayer block sits directly under the weather line. While a window is open, its line carries two times — the current band’s end and the slot’s celestial deadline — and the line color names the band: 🕌 Dhuhr & Asr — till 15:24 · sunset 18:00 painted green inside the فضیلت window; yellow for the gap (— till 16:02 · sunset 18:02); collapsing in the final stretch to — till sunset (18:00) in red (the last 30 minutes before sunrise; the last 2 hours before sunset or shar’i midnight). With nothing open it shows 🕌 Next: Maghrib 18:18 (in 2h 30m) — turning yellow inside the final hour (🕌 Next: Maghrib 18:18 (in 12m), then (due now)); when everything is logged it points at tomorrow’s Fajr. After a deadline: a red ⚠️ not logged line. Logged slots drop their line.
Backlog / qada marking — p q
Section titled “Backlog / qada marking — p q”Mark a past, unlogged prayer as qada. By default it logs at the current time, which is the natural choice for catching up.
| Usage | Meaning |
|---|---|
p q |
Mark a past unlogged prayer as qada (logs at current time) |
p q -15 |
Mark with a time of 15 minutes ago |
p q 03:11 |
Mark at 03:11 on the past date |
p qis the quick per-prayer catch-up. For managing a standing backlog of missed prayers and fasting over time, use theqadamanager.
Travel mode
Section titled “Travel mode”In travel mode, p shows a smart slot selector instead of assuming Tehran times, and location-dependent prayer nudges are suppressed.