Millis to Seconds
This commit is contained in:
parent
f3ebadc222
commit
ca60afe068
@ -215,9 +215,9 @@ public class CassandraBaseEventDao extends CassandraAbstractSearchTimeDao<EventE
|
||||
private int toMillis(String timeInterval) {
|
||||
switch (timeInterval) {
|
||||
case "DAY":
|
||||
return 24 * 3600 * 1000;
|
||||
return 24 * 3600;
|
||||
case "WEEK":
|
||||
return 7 * 24 * 3600 * 1000;
|
||||
return 7 * 24 * 3600;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user