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
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
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;
|
|
} |