mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-23 08:31:49 +01:00
12am now at start of PunchCard
An earlier fix attempt for another bug #247 (ages ago) was still in the code, moving 12 am to the next day by adding 24 hours to the time. Fixed by removing the check Affects issues: - Fixed #712
This commit is contained in:
parent
00d366748d
commit
d5864bf594
@ -85,7 +85,7 @@ public class PunchCard {
|
|||||||
for (int hour = 0; hour < 24; hour++) {
|
for (int hour = 0; hour < 24; hour++) {
|
||||||
int value = scaled[day][hour];
|
int value = scaled[day][hour];
|
||||||
|
|
||||||
int x = hour == 0 ? 24 * 3600000 : hour * 3600000;
|
int x = hour * 3600000;
|
||||||
|
|
||||||
dots.add(new Dot(x, day, value, value));
|
dots.add(new Dot(x, day, value, value));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user