|
@@ -175,7 +175,7 @@ public class ScheduleController {
|
|
LocalDateTime startDate = startDateTime.plusDays(i * 6).withHour(0).withMinute(0).withSecond(0).withNano(0);
|
|
LocalDateTime startDate = startDateTime.plusDays(i * 6).withHour(0).withMinute(0).withSecond(0).withNano(0);
|
|
LocalDateTime endDate = startDateTime.plusDays((i + 1) * 6).withHour(23).withMinute(59).withSecond(59).withNano(9999);
|
|
LocalDateTime endDate = startDateTime.plusDays((i + 1) * 6).withHour(23).withMinute(59).withSecond(59).withNano(9999);
|
|
if (now.isAfter(startDate) && now.isBefore(endDate)) {
|
|
if (now.isAfter(startDate) && now.isBefore(endDate)) {
|
|
- return RT.ok(i + 1);
|
|
|
|
|
|
+ return RT.ok(i);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|