Correct input time parsing

A time value of "#-#" ignored the hour value (second #).