mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 23:08:49 +01:00
🎨 Flashcard review interface adds card review times, state and other information https://github.com/siyuan-note/siyuan/issues/10505
This commit is contained in:
parent
91ad199142
commit
6a6fdce3dd
1 changed files with 2 additions and 2 deletions
|
|
@ -509,7 +509,7 @@ type Flashcard struct {
|
|||
Lapses int `json:"lapses"`
|
||||
Reps int `json:"reps"`
|
||||
State riff.State `json:"state"`
|
||||
LastReview time.Time `json:"lastReview"`
|
||||
LastReview int64 `json:"lastReview"`
|
||||
NextDues map[riff.Rating]string `json:"nextDues"`
|
||||
}
|
||||
|
||||
|
|
@ -526,7 +526,7 @@ func newFlashcard(card riff.Card, deckID string, now time.Time) *Flashcard {
|
|||
Lapses: card.GetLapses(),
|
||||
Reps: card.GetReps(),
|
||||
State: card.GetState(),
|
||||
LastReview: card.GetLastReview(),
|
||||
LastReview: card.GetLastReview().UnixMilli(),
|
||||
NextDues: nextDues,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue