upd: fitur baru

Dekripsi:
- update struktur database
- tambah task detail jam pada project
- get list modal detail jam task project
- api get list detail jam task
- api tambah task detail jam pada project

No Issues
This commit is contained in:
2025-08-18 17:46:28 +08:00
parent 2bf919ac09
commit 3ec93ffe02
11 changed files with 387 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
export function getDatesInRange(startDate: Date, endDate: Date) {
const dates = [];
const currentDate = new Date(startDate);
while (currentDate <= endDate) {
dates.push(new Date(currentDate));
currentDate.setDate(currentDate.getDate() + 1);
}
return dates;
}