Fix AM/PM timestamps