diff options
author | Sven Gothel <[email protected]> | 2013-01-19 21:29:39 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-19 21:29:39 +0100 |
commit | f817907f7a4af5925865da00e801fdf9c6a8c690 (patch) | |
tree | ee10ba1a290c8e06d60f0d8c65d5cd1e5a828479 | |
parent | 821d52e3694fac0b907ec240e264f4d52d352966 (diff) |
Fix logrotateStart: Use 24h 'hour_of_day'
-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(); } |