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