[hotfix] #118 - 캘린더 connectedAt을 사용자 zoneId 기준으로 변경 - #162
Merged
1 commit merged intoJul 15, 2026
Merged
1 commit merged into
1 commit merged into
Conversation
Walkthrough캘린더 연결 응답의 Changes캘린더 연결 시각 변환
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@src/main/java/com/Timo/Timo/domain/calendar/service/CalendarConnectionCommandService.java`:
- Around line 59-65: Update resolveConnectedAt to handle null connectedAt and
null or invalid user.getZoneId() values without propagating ZoneId conversion or
atZone exceptions, using the method’s established fallback behavior. Extract the
yyyy-MM-dd HH:mm:ss DateTimeFormatter into a class-level constant and reuse it
instead of constructing one per invocation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: b6187220-c2d5-47d6-83f8-2fd7e00082e6
📒 Files selected for processing (2)
src/main/java/com/Timo/Timo/domain/calendar/dto/response/CalendarConnectResponse.javasrc/main/java/com/Timo/Timo/domain/calendar/service/CalendarConnectionCommandService.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
관련 이슈 🛠
작업 내용 요약 ✏️
캘린더 연동 응답의
connectedAt을 UTC 고정 표시에서 사용자의 시간대(User.zoneId) 기준 문자열로 변경합니다. DB 저장은 기존과 동일하게 UTC로 유지하고, 응답 시점에만 사용자 기준으로 변환합니다.주요 변경 사항 🛠️
CalendarConnectResponse.connectedAt을LocalDateTime(UTC 고정,@JsonFormat)에서String(사용자 zoneId 기준 변환 문자열)으로 변경CalendarConnectionCommandService에resolveConnectedAtprivate 메서드 추가하여 변환 처리트러블 슈팅 ⚽️
테스트 결과 📄
캘린더 연동 시
connectedAt시각 현재 노트북 시각과 일치하는지 확인스크린샷 📷
캘린더 연동 시

connectedAt시각 현재 노트북 시각과 일치하는지 확인리뷰 요구사항 📢
📎 참고 자료 (선택)
Summary by CodeRabbit