mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 17:48:52 -06:00
Change the way score are grouped
This commit is contained in:
@@ -218,7 +218,7 @@ public class ScoreList
|
||||
compute(from, to);
|
||||
|
||||
divisor *= DateHelper.millisecondsInOneDay;
|
||||
Long offset = to + divisor - 1;
|
||||
Long offset = to + divisor;
|
||||
|
||||
String query = "select ((timestamp - ?) / ?) as time, avg(score) from Score " +
|
||||
"where habit = ? and timestamp >= ? and timestamp <= ? " +
|
||||
|
||||
Reference in New Issue
Block a user