fix/add tests, update heatmap range, finish android release, add readme

Stop tracking gradle.properties
This commit is contained in:
Rene Kievits
2025-12-24 06:50:04 +01:00
parent eaed23a678
commit c140bb8292
66 changed files with 350 additions and 89 deletions

View File

@@ -97,11 +97,7 @@ export const processLesson = async (user, subjectId) => {
if (!item) throw new Error('Item not found');
item.srsLevel = 1;
const nextReview = new Date();
nextReview.setUTCHours(nextReview.getUTCHours() + 2);
nextReview.setUTCMinutes(0, 0, 0);
item.nextReview = nextReview;
item.nextReview = getSRSDate(1);
await item.save();
return { success: true, item };