fix(#140): 캠페인 정보 조회에 dday, 카테고리 추가#346
Conversation
Summary of ChangesHello @ParkJiYeoung8297, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 캠페인 상세 정보 조회 시 사용자에게 모집 마감까지 남은 기간('dday')과 캠페인의 카테고리 정보를 제공하여, 캠페인에 대한 이해도를 높이고 사용자 경험을 개선하는 것을 목표로 합니다. 기존 캠페인 상세 조회 기능에 누락되었던 핵심 정보를 추가하여 기능의 완전성을 확보합니다. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
| String imageUrl = attachmentUrlService.getAccessUrl(campaign.getImageUrl()); | ||
|
|
||
| return CampaignDetailResponse.from(campaign, imageUrl, isLike, tags); | ||
| LocalDate today = LocalDate.now(); |
There was a problem hiding this comment.
서버의 기본 시간대에 따라 LocalDate.now()의 결과가 달라질 수 있어 예기치 않은 동작을 유발할 수 있습니다. 예를 들어, 서버가 다른 시간대에 배포될 경우 D-day 계산이 달라질 수 있습니다. ZoneId를 명시하여 일관된 시간대를 사용하도록 수정하는 것을 권장합니다. java.time.ZoneId import가 필요할 수 있습니다.
| LocalDate today = LocalDate.now(); | |
| LocalDate today = LocalDate.now(ZoneId.of("Asia/Seoul")); |
Summary
캠페인 상세 정보 조회에 dday, 카테고리 추가
Changes
Type of Change
Related Issues
#140
참고 사항
dday 가 -1인것은 이미 dday가 지난 캠페인을 의미합니다.
캠페인의 카테고리는 현재 브랜드의 카테고리를 따라가고 있습니다. (데모데이 이후 캠페인의 카테고리로 변경 예정)