Fixed bug in round_to_quarter

ex. 3h59m was rounded to 3h0m instead of 4h0m