[#94] Refactor durartion handling
Created by: elbenfreund
This PR does two things:
-
In order to allow a more accurate computation and representation of fact-durations we no longer convert the retrieved seconds to minutes when converting the retrieved dbus-fact.
-
We refactor our helper functions that are in charge of formatting fact duration to various string representations. Besides cleaning up the code we also provide proper docstrings that make parameters and expected return values/formatting more transparent
Ref: #94 (closed)