Go to file
Thomas Lamprecht 3ccdce4055 utils: format_duration_human: calculate years too
Add years and skip showing minute scale once we got over a year,
that's just not relevant anymore at that scale..

Months are just not an ideal thing to show, as they have different
lengths too (leap years have similar issue, but they differ 0.27%
from a normal year, while shortest to longest month is 10.7%
difference!)

Weeks could be done though, they're fixed at 7 days, but for now I
want to avoid unwieldy day numbers like 2634 d as that's just hard to
frame correctly. Also adding years now does not makes adding weeks in
the future impossible anyway..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-23 09:39:50 +01:00
debian bump version to 3.4-3 2021-11-20 21:41:41 +01:00
src utils: format_duration_human: calculate years too 2021-11-23 09:39:50 +01:00
.gitignore add basic .gitignore 2021-06-29 12:21:06 +02:00
Makefile buildsys: change upload dist to bullseye 2021-06-08 09:46:54 +02:00