InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Occasional Incorrect Dates Displayed in the Weather forecast

Open
#2,024 2 comments 0 reactions 0 assignees View on GitHub

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 weather forecast sometimes has the dates outset by one.

What should happen instead?

The dates should not be offset in any direction.

Reproduction steps

If you can't currently see the issue, you will need to adjust the UNIX timestamp being sent to some other time of the day.

More details?

For the past few days, I have been testing the new weather app in InfiniTime. However, I have noticed that the forecast does not always show the correct dates. I have checked to make sure I am sending the local UNIX timestamp using InfiniLink, but, everything there seems to be correct, so I suspect this is probably a bug in InfiniTime.

Version

main

Companion app

Development Version of InfiniLink

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the forecast with different UNIX timestamps and times of day, confirming the local timestamp sent through InfiniLink. Trace how InfiniTime converts that timestamp into forecast dates and compare the displayed dates with the expected local dates; done means dates remain correct without an offset.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.