summaryrefslogtreecommitdiffstats
path: root/src/org/jogamp/jabot/irc
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-01-19 21:29:39 +0100
committerSven Gothel <[email protected]>2013-01-19 21:29:39 +0100
commitf817907f7a4af5925865da00e801fdf9c6a8c690 (patch)
treeee10ba1a290c8e06d60f0d8c65d5cd1e5a828479 /src/org/jogamp/jabot/irc
parent821d52e3694fac0b907ec240e264f4d52d352966 (diff)
Fix logrotateStart: Use 24h 'hour_of_day'
Diffstat (limited to 'src/org/jogamp/jabot/irc')
-rw-r--r--src/org/jogamp/jabot/irc/CatOut.java2
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();
}