Fix 24-hour clock to 12-hour clock