[FIX] 활동 기간 계산 로직 통일 및 ActivityDurationCalculator 유틸화 - #511 #512
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue 🛠
Work Description ✏️
📌 변경 배경
기존에는 유저의 활동 기간(soptDuring)을 계산하는 로직이 여러 곳에서 서로 다른 기준으로 중복 정의되어 있었습니다.
대표적으로 다음 두 방식이 사용되고 있었습니다:
✅ 주요 변경 사항
동일한 유틸 클래스 사용으로 /sopt-log와 /home의 활동 개월 수 일치
🛠 기타 수정 사항
Trouble Shooting ⚽️
Related ScreenShot 📷
Uncompleted Tasks 😅
To Reviewers 📢
local에서 임의 테스트는 진행했으나 dev 테스트가 추가로 필요해 머지 후 테스트하고 결과 공유하겠습니다!


/sopt-log
/description
일치하는 것 확인했습니다!
정상 작동 확인 시 기존에 /sopt-log 계산 방식인 getDuration()은 사용처가 없어지므로 삭제하도록 하겠습니다!