updated custom-post-types with better event date handling