Split AM/PM logic into multiple lines
Split AM/PM logic into multiple lines