fix for time breaking.
This commit is contained in:
parent
82b41d1b5e
commit
d08c6f46a9
|
@ -82,7 +82,7 @@ public class Methods {
|
|||
return result;
|
||||
}
|
||||
|
||||
private static long convert(int value, char unit) {
|
||||
private static long convert(long value, char unit) {
|
||||
switch (unit) {
|
||||
case 'd':
|
||||
return value * 1000 * 60 * 60 * 24;
|
||||
|
|
Loading…
Reference in New Issue