Fixed bug when hour is 2 digits long