Show actual due date of learning cards in Card Info (#2865)

This commit is contained in:
Abdo 2023-12-04 08:04:22 +03:00 committed by GitHub
parent 820b833a43
commit 344dbe45ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ impl Collection {
due.0 += (days_remaining as i64) * 86_400; due.0 += (days_remaining as i64) * 86_400;
Some(due.0) Some(due.0)
} else { } else {
Some(TimestampSecs::now().0) Some(due as i64)
} }
}, },
card.original_position.map(|u| u as i32), card.original_position.map(|u| u as i32),