fix for time breaking.

This commit is contained in:
Brianna 2019-04-04 14:30:04 -04:00
parent 82b41d1b5e
commit d08c6f46a9
1 changed files with 1 additions and 1 deletions

View File

@ -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;