feat: user export service. bug and UX fixes. Complete minus outstanding email template fixes.

This commit is contained in:
Eric Gullickson
2025-12-26 14:06:03 -06:00
parent 8c13dc0a55
commit fb52ce398b
35 changed files with 1686 additions and 118 deletions

View File

@@ -416,11 +416,12 @@ export class BackupRepository {
next.setDate(next.getDate() + 1);
next.setHours(3, 0, 0, 0);
break;
case 'weekly':
case 'weekly': {
const daysUntilSunday = (7 - next.getDay()) % 7 || 7;
next.setDate(next.getDate() + daysUntilSunday);
next.setHours(3, 0, 0, 0);
break;
}
case 'monthly':
next.setMonth(next.getMonth() + 1);
next.setDate(1);