Melsaeed276 / Melsaeed276/Hatim_Program
prayer-times: current prayer, next prayer, and countdown logic
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Goal
Implement domain logic for current prayer, next prayer, and remaining time.
Scope
- Build pure domain service to compute:
- current prayer
- next prayer
- time remaining until next prayer
- Handle day-boundary transitions (Isha -> Fajr next day).
- Handle timezone and DST correctly.
Acceptance Criteria
- Given a timestamp and prayer schedule, service returns correct current/next prayer.
- Countdown is accurate and updates every minute (or configured interval).
- Boundary cases are covered with unit tests.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or existing entry points; start by locating the prayer schedule and current prayer-time handling in the Flutter app. Add unit coverage for current and next prayers, countdown intervals, day boundaries, timezone, and DST; done means the acceptance criteria pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100