mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
when importing make sure to adjust due date for day lrn too
This commit is contained in:
parent
f88bc6ff60
commit
19fde43cda
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ class Anki2Importer(Importer):
|
||||||
card[4] = intTime()
|
card[4] = intTime()
|
||||||
card[5] = usn
|
card[5] = usn
|
||||||
# review cards have a due date relative to collection
|
# review cards have a due date relative to collection
|
||||||
if card[7] == 2:
|
if card[7] in (2, 3):
|
||||||
card[8] -= aheadBy
|
card[8] -= aheadBy
|
||||||
cards.append(card)
|
cards.append(card)
|
||||||
# we need to import revlog, rewriting card ids and bumping usn
|
# we need to import revlog, rewriting card ids and bumping usn
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue