fixed type conversion in calculation with given start date and
duration
This commit is contained in:
parent
e50df8eaf2
commit
2a22bfefb1
@ -110,7 +110,7 @@ public class WaldemarWidget extends AppWidgetProvider {
|
|||||||
case 3: // duration and timeThen
|
case 3: // duration and timeThen
|
||||||
break;
|
break;
|
||||||
case 4: // timeStart and duration
|
case 4: // timeStart and duration
|
||||||
timeThen = timeStart + duration * 86400000;
|
timeThen = (long)(timeStart + duration * 86400000.);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user