reset due on load if outside i32 bounds
Some third party clients that create apkg files appear to be saving a millisecond timestamp into this column. While this could also be solved by increasing this field to a 64 bit number, some older clients expect this column to be a 32 bit number.
This commit is contained in:
parent
94d369db18
commit
898801ebda
@ -44,7 +44,7 @@ impl super::SqliteStorage {
|
||||
usn: row.get(4)?,
|
||||
ctype: row.get(5)?,
|
||||
queue: row.get(6)?,
|
||||
due: row.get(7)?,
|
||||
due: row.get(7).ok().unwrap_or_default(),
|
||||
ivl: row.get(8)?,
|
||||
factor: row.get(9)?,
|
||||
reps: row.get(10)?,
|
||||
|
Loading…
Reference in New Issue
Block a user