Fix bug in getHoursFromStart()

This commit is contained in:
Nico Schmitz 2018-06-14 12:34:42 +02:00
parent 4d2e166620
commit f82240a724

View file

@ -87,7 +87,7 @@ public class CareportalEvent implements DataPointWithLabelInterface {
} }
public long getHoursFromStart() { public long getHoursFromStart() {
return (System.currentTimeMillis() - date) / (60 * 1000); return (System.currentTimeMillis() - date) / (60 * 60 * 1000);
} }
public String age() { public String age() {