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?
I cried myself into sleep last night over this.