Fix bug in getHoursFromStart()
This commit is contained in:
parent
4d2e166620
commit
f82240a724
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue