display time in tooltip, correctly treat 0