fixed problem when AM/PM are jammed up against the time in a string timestamp