Refactors for better time readability in tooltips