format time to be 12-hour, and prevent DST from screwing up the conversions