This commit is contained in:
Liang Ding 2022-12-23 22:59:32 +08:00
parent bc1399462f
commit 3ad95e3ed4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -336,7 +336,7 @@ func InitFlashcards() {
deck.Created = time.Now().Unix()
}
if 0 == deck.Updated {
deck.Updated = time.Now().UnixMilli()
deck.Updated = deck.Created
}
Decks[deckID] = deck