ankitects / ankitects/anki

Interval displayed wrong in browser after using set due date

Open
#4,787 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.2k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
72

Description

Ref: https://forums.ankiweb.net/t/bug-set-due-date-issues/69585?u=a_blokee

> [quote="ZornHadNoChoice, post:1, topic:69585"]
> # 2 The intervals shown are wrong
>
> ![image|655x57](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/8/7/87fbed6eafcd3ee7fe7f790b4fa7b9084fcce0ab.png)
>
> ![image|690x449](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/6/b/6b76d7cdd5ba8866f3549eea94877745e3387a02.png)
>
> Setting the due date with 99999, results in the interval being shown as 1.6 years in the browser and 68.1 years in the revlog.
> [/quote]

Contributor guide

Open the contributing guide

Research direction

Start with the linked forum report and reproduce the issue by setting a due date of 99999. Compare the interval shown in the browser with the interval shown in the revlog; done means both displays represent the same interval consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.