Skip to content

Commit

Permalink
🐛 Setting flashcard expiration time does not work #12743
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Oct 10, 2024
1 parent 5e657df commit 8c53bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/card/openCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const bindCardEvent = async (options: {
fetchPost("/api/riff/batchSetRiffCardsDueTime", {
cardDues: [{
id: currentCard.cardID,
due: dayjs().day(parseInt(inputElement.value)).format("YYYYMMDDHHmmss")
due: dayjs().add(parseInt(inputElement.value), 'day').format("YYYYMMDDHHmmss")
}]
}, () => {
actionElements[0].classList.add("fn__none");
Expand Down

0 comments on commit 8c53bc5

Please sign in to comment.