Fix parsing 12-hour clock