Convert to more user-friendly time format
Refactor formatting code into a helper