Display time as "hh:mm:ss" instead of just "s"

It might not be that simple.

What is a good format to show time in one instance, might be a bad one in another.

Like a router have a uptime value that can many times be in days or even years, so a format of days hours:minutes:seconds would be wanted, while a timer for an automation would probably be more useful with a format of seconds:microseconds, where seconds count above 60.
Where as a date for a calender would require something, like date month year or date month year hours:minutes or some other variant.