fix time format to remove the A/P designation