Summary
v0.3.1 makes show --date a first-class way to look up prayer times for any single day or an inclusive span of days, with full support across the table, JSON, and headless output modes. It also fixes a show --next rollover bug that could report a slightly wrong time after the last prayer of the day, alongside packaging and repository-hygiene improvements.
What changes
show --date now supports single dates and inclusive ranges
The --date option has been reworked from the ground up. Instead of a single lookup, you can now request prayer times for one day or an inclusive span of days, and every output mode understands ranges:
- Table renders a range as one row per day, printing only the prayer columns you have enabled in your config.
- JSON (
--json) emits an array of per-day objects for ranges, and a single object for a single date. - Headless (
--headless) emits onedate=block per day, keeping the machine-readable key=value format.
New usage:
muslimtify show --date 2022-01-01 # one day
muslimtify show --date 2022-01-01 --json # one day as JSON
muslimtify show --date 2022-01-01 2022-01-07 # inclusive range
muslimtify show --date 2022-01-01 2022-01-07 --headless
--json and --headless may appear before or after the dates. Input dates are validated up front, so malformed or out-of-order ranges are rejected with a clear error instead of producing garbage output.
Fixes
show --nextrollover after the last prayer of the day. When every enabled prayer for today has already passed,--nextcorrectly rolls over to tomorrow's first prayer. Previously it reused today's clock time as a stand-in, which could be off by up to a minute due to day-to-day drift. The wrapped prayer's time is now recomputed for the next day's date, and the countdown is derived from that exact time. The fix is shared across the table, JSON, and headless--nextrenderers and is covered by new CLI tests.show --datehelp text rewritten for clarity: the usage line, option descriptions, notes, and examples now accurately reflect single-date and range behavior.
Maintenance and packaging
- Bundled
adhan.mp3is now shipped inside the Fedora and Windows packages. - CI:
action-gh-releasebumped to v3.0.1 (Node 24). - AUR source checksums refreshed.
- Repository hygiene: auto-assign workflow for new issues and pull requests (#36), a more detailed pull request template (#37), and an updated AI usage policy.
Changelog
- feat(show): single-date and inclusive date-range support for
--dateacross table, JSON, and headless output (#35) - fix(show):
--nextshows tomorrow's exact recomputed time after the day's last prayer (#35) - feat: auto-assign issues and PRs (#36)
- chore: more detailed PR template (#37)
- chore: bump version to v0.3.1 (#38)
Full Changelog: v0.3.0...v0.3.1