aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/StatisticsManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-16 14:56:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-16 14:56:43 +1200
commit65bec416c56715cd4a24ef69f136e4f67be56851 (patch)
treea192786d49ae16e18f81ef55c5594048ce031622 /src/org/traccar/database/StatisticsManager.java
parent6ceb897e22d426875d5fb4c3b434d000eb627afa (diff)
downloadtrackermap-server-65bec416c56715cd4a24ef69f136e4f67be56851.tar.gz
trackermap-server-65bec416c56715cd4a24ef69f136e4f67be56851.tar.bz2
trackermap-server-65bec416c56715cd4a24ef69f136e4f67be56851.zip
Fix statistics period
Diffstat (limited to 'src/org/traccar/database/StatisticsManager.java')
-rw-r--r--src/org/traccar/database/StatisticsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/StatisticsManager.java b/src/org/traccar/database/StatisticsManager.java
index 09cfee856..5b42416ad 100644
--- a/src/org/traccar/database/StatisticsManager.java
+++ b/src/org/traccar/database/StatisticsManager.java
@@ -30,7 +30,7 @@ import java.util.Set;
public class StatisticsManager {
- private static final int SPLIT_MODE = Calendar.MINUTE;
+ private static final int SPLIT_MODE = Calendar.DAY_OF_MONTH;
private int lastUpdate = Calendar.getInstance().get(SPLIT_MODE);