aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-13 23:41:04 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-13 23:41:04 -0700
commit3bfeece57b525f18be57856dce277473ca2cff95 (patch)
tree3cc1e06a78a92dd08f7212941afd5c200fb0f2a4 /src/main
parentc9e90e027eef684028e16a894bb2ec362c3db3d9 (diff)
downloadtraccar-server-3bfeece57b525f18be57856dce277473ca2cff95.tar.gz
traccar-server-3bfeece57b525f18be57856dce277473ca2cff95.tar.bz2
traccar-server-3bfeece57b525f18be57856dce277473ca2cff95.zip
Revert to daily stats
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/database/StatisticsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/StatisticsManager.java b/src/main/java/org/traccar/database/StatisticsManager.java
index 1ed232850..4ad6d9d5c 100644
--- a/src/main/java/org/traccar/database/StatisticsManager.java
+++ b/src/main/java/org/traccar/database/StatisticsManager.java
@@ -41,7 +41,7 @@ public class StatisticsManager {
private static final Logger LOGGER = LoggerFactory.getLogger(StatisticsManager.class);
- private static final int SPLIT_MODE = Calendar.MINUTE;
+ private static final int SPLIT_MODE = Calendar.DAY_OF_MONTH;
private final Config config;
private final DataManager dataManager;