changing the time formatter to make it 12hr based