Revert "Fixed the bug of negative hours"

This reverts commit 403b01b774f97abd20de51a5bb0033749e1e3031.
Fixes #5