improve view_days: care for short time event