mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix days_since_last_review() when used in filtered deck
This commit is contained in:
parent
e6088c46e3
commit
68d4878d55
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ impl Card {
|
|||
Some(TimestampSecs(self.due as i64))
|
||||
} else if self.is_due_in_days() {
|
||||
Some(TimestampSecs::now().adding_secs(
|
||||
((self.due - timing.days_elapsed as i32).saturating_mul(86400)) as i64,
|
||||
((self.original_or_current_due() - timing.days_elapsed as i32).saturating_mul(86400)) as i64,
|
||||
))
|
||||
} else {
|
||||
None
|
||||
|
|
|
|||
Loading…
Reference in a new issue