Refactor method events_local_formatted