mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +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;
|
||||
x /= 24;
|
||||
long days = x % 365;
|
||||
long months = days % 30;
|
||||
long months = (days - days % 30) / 30;
|
||||
days -= months * 30;
|
||||
x /= 365;
|
||||
long years = x;
|
||||
|
Loading…
Reference in New Issue
Block a user