mirror of
https://github.com/ankitects/anki.git
synced 2026-01-08 03:23:54 -05:00
fix bug again
This commit is contained in:
parent
df766c2839
commit
47addd70f6
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ fn add_extract_fsrs_relative_retrievability(db: &Connection) -> rusqlite::Result
|
||||||
// Don't change this to now.subtracting_sub(due) as u32
|
// Don't change this to now.subtracting_sub(due) as u32
|
||||||
// for the same reasons listed in the comment
|
// for the same reasons listed in the comment
|
||||||
// in add_extract_fsrs_retrievability
|
// in add_extract_fsrs_retrievability
|
||||||
now.saturating_sub(last_review_time.0) as u32
|
(now as u32).saturating_sub(last_review_time.0 as u32)
|
||||||
} else {
|
} else {
|
||||||
secs_elapsed
|
secs_elapsed
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue