InfiniTimeOrg / InfiniTimeOrg/InfiniTime
Week number on Casio watch face is off by one
Open
Nobody has claimed this yet.
bug
- Dominant language
- C
- Stars
- 3.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Verification
- I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?
The calendar week number on the Casio watch face is always one too low.
What should happen instead?
The week number should start at 1 at the beginning of the year, not 0.
Reproduction steps
- Select Casio watch face
- Observe incorrect week number in top left corner of the watch face
More details?
Also happened on v1.15, but so far I've just always added one in my mind to get the correct number.
Version
v1.16.0
Companion app
Gadgetbridge v0.86.1
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
Start by locating the Casio watch-face implementation and the calendar week-number calculation, then reproduce the display on v1.16.0. Done means the week number shown in the top-left corner starts at 1 at the beginning of the year rather than displaying 0 or a value one too low.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100