Commit e042a2e9 authored by Christian Schudt's avatar Christian Schudt

Use HOUR_OF_DAY intsead of HOUR in AuditorImpl

parent b03f0df6
......@@ -310,7 +310,7 @@ public class AuditorImpl implements Auditor {
// Set limit date after which we need to rollover the audit file (based on the date)
Calendar calendar = Calendar.getInstance();
calendar.setTime(auditDate);
calendar.set(Calendar.HOUR, 23);
calendar.set(Calendar.HOUR_OF_DAY, 23);
calendar.set(Calendar.MINUTE, 59);
calendar.set(Calendar.SECOND, 59);
calendar.set(Calendar.MILLISECOND, 999);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment