mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 15:44:49 +08:00
Fixed Negative Days being displayed #400
This commit is contained in:
parent
5a87efe5ad
commit
c331036771
@ -94,7 +94,7 @@ public class FormatUtils {
|
|||||||
long hours = x % 24;
|
long hours = x % 24;
|
||||||
x /= 24;
|
x /= 24;
|
||||||
long days = x % 365;
|
long days = x % 365;
|
||||||
long months = days % 30;
|
long months = (days - days % 30) / 30;
|
||||||
days -= months * 30;
|
days -= months * 30;
|
||||||
x /= 365;
|
x /= 365;
|
||||||
long years = x;
|
long years = x;
|
||||||
|
Loading…
Reference in New Issue
Block a user