use correct number format
This commit is contained in:
parent
de92125967
commit
a46b038381
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ public class ObjectivesFragment extends SubscriberFragment {
|
||||||
return 1;
|
return 1;
|
||||||
} else if (objectiveStartedTime > 0 && !enableFakeValue
|
} else if (objectiveStartedTime > 0 && !enableFakeValue
|
||||||
&& objectiveAccomplishedTime == 0
|
&& objectiveAccomplishedTime == 0
|
||||||
&& !(objectiveStartedTime + durationInDays * 24 * 60 * 60 * 1000 < now && requirementsMet)) {
|
&& !(objectiveStartedTime + (long)durationInDays * 24 * 60 * 60 * 1000 < now && requirementsMet)) {
|
||||||
return 2;
|
return 2;
|
||||||
} else if (objectiveAccomplishedTime == 0) {
|
} else if (objectiveAccomplishedTime == 0) {
|
||||||
return 3;
|
return 3;
|
||||||
|
|
Loading…
Reference in a new issue