diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-16 14:56:43 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-16 14:56:43 +1200 |
commit | 65bec416c56715cd4a24ef69f136e4f67be56851 (patch) | |
tree | a192786d49ae16e18f81ef55c5594048ce031622 /src | |
parent | 6ceb897e22d426875d5fb4c3b434d000eb627afa (diff) | |
download | traccar-server-65bec416c56715cd4a24ef69f136e4f67be56851.tar.gz traccar-server-65bec416c56715cd4a24ef69f136e4f67be56851.tar.bz2 traccar-server-65bec416c56715cd4a24ef69f136e4f67be56851.zip |
Fix statistics period
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/database/StatisticsManager.java | 2 |
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); |