Skip to content

Commit

Permalink
SEBSERV-651 for testing fixed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anhefti committed Mar 5, 2025
1 parent e6cd40d commit c2557ff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ static Predicate<QuizData> quizFilterPredicate(final FilterMap filterMap) {
final boolean nameFilter = StringUtils.isBlank(name) || (q.name != null && q.name.contains(name));

// new quiz start date filter SEBSERV-651
if (from != null) {
log.info("*%%%%%%%%%%%%%%%% dayStart: " + dayStart + " startDay_Quiz: " + q.startTime.withTime(0, 0, 0, 0).getMillis());
}
// if (from != null) {
// log.info("*%%%%%%%%%%%%%%%% dayStart: " + dayStart + " startDay_Quiz: " + q.startTime.withTime(0, 0, 0, 0).getMillis());
// }
boolean startTimeFilter = true;
if (dayStart != null) {
// final long dayStart = from.withTime(0, 0, 0, 0).getMillis();
// final long dayEnd = from.withTime(23, 59, 59, 999).getMillis();
final long quizStart = q.startTime.getMillis();
log.info("***************** quizStart: " + quizStart);
log.info("***************** quiz: " + q.name + " quizStart: " + q.startTime + " quizStartMillis: " + quizStart);
startTimeFilter = dayStart <= quizStart && dayEnd >= quizStart;
}

Expand Down

0 comments on commit c2557ff

Please sign in to comment.