diff options
-rw-r--r-- | src/org/jogamp/jabot/irc/CatOut.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/jogamp/jabot/irc/CatOut.java b/src/org/jogamp/jabot/irc/CatOut.java index 3e494de..a48e510 100644 --- a/src/org/jogamp/jabot/irc/CatOut.java +++ b/src/org/jogamp/jabot/irc/CatOut.java @@ -99,7 +99,7 @@ public class CatOut extends PircBot { final int hh = (int)atol(hhS, 0); final int mm = (int)atol(mmS, 0); final Calendar cal = new GregorianCalendar(TimeTool.getNearZuluTimeZone(), Locale.getDefault()); - cal.set(Calendar.HOUR, hh); + cal.set(Calendar.HOUR_OF_DAY, hh); cal.set(Calendar.MINUTE, mm); _logrotateStart = cal.getTimeInMillis(); } |