Millis to Seconds

This commit is contained in:
basanets 2019-04-19 15:06:59 +03:00
parent f3ebadc222
commit ca60afe068

View File

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