refine timestamp parser