From f817907f7a4af5925865da00e801fdf9c6a8c690 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 19 Jan 2013 21:29:39 +0100 Subject: Fix logrotateStart: Use 24h 'hour_of_day' --- src/org/jogamp/jabot/irc/CatOut.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3