Fixed the parseTimeOfDay function. The issue was that 12-hour times with 12 as the hour were not being converted correctly (12 PM should be 12:00 = 720 minutes, not 0). I updated the 12-hour to 24-hour conversion logic: 12 AM becomes 0, and 12 PM stays 12. The tests now pass.