Format hours in FormattingUtils

Eurgh, I really hate this code. And funnily enough line breaks *before* a minus
sign will just silently break. A line starting with "-" is going to be ignored.
WTF?
Is this required?