mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Value typo at DaysAgo
This commit is contained in:
parent
77c394fe18
commit
da314d31d5
@ -93,7 +93,7 @@ def readable_time(before: str) -> str:
|
|||||||
return t("Gui.Dashboard.MinutesAgo", time=int(diff // 60))
|
return t("Gui.Dashboard.MinutesAgo", time=int(diff // 60))
|
||||||
elif diff < 86400:
|
elif diff < 86400:
|
||||||
return t("Gui.Dashboard.HoursAgo", time=int(diff // 3600))
|
return t("Gui.Dashboard.HoursAgo", time=int(diff // 3600))
|
||||||
elif diff < 129600:
|
elif diff < 1296000:
|
||||||
return t("Gui.Dashboard.DaysAgo", time=int(diff // 86400))
|
return t("Gui.Dashboard.DaysAgo", time=int(diff // 86400))
|
||||||
else:
|
else:
|
||||||
# > 15 days
|
# > 15 days
|
||||||
|
Loading…
Reference in New Issue
Block a user