Bug fixed

Fixed a big that print undefined instead of the hours in the format
hh:mm