fix bug again

This commit is contained in:
Luc Mcgrady 2025-11-11 06:30:13 +00:00
parent df766c2839
commit 47addd70f6
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -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
// for the same reasons listed in the comment
// 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 {
secs_elapsed
};