Skip to content

Commit d3cc5ab

Browse files
authored
Merge pull request #59 from TotalElderBerry/v2
fix(attendance): fixed cant attend on third day
2 parents 46c1366 + 55bc913 commit d3cc5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/models/tatakform/attendance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TatakFormAttendance {
1919
const currentDate = new Date();
2020
const fromDate = new Date(event.from_date);
2121
const toDate = new Date(event.to_date);
22-
22+
toDate.setDate(toDate.getDate() + 1)
2323
let query;
2424
let columnName = "day1_am";
2525

0 commit comments

Comments
 (0)