8000 feat: 타임존 설정 by ddingmin · Pull Request #168 · depromeet/depromeet-makers-be · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: 타임존 설정 #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: 타임존 설정 #168

wants to merge 2 commits into from

Conversation

ddingmin
Copy link
Member
@ddingmin ddingmin commented Apr 2, 2025

💡 기능

  • seoul 타임존을 적용했습니다.
  • 타임존을 적용하면서 몽고디비 컨버터쪽을 추가해줬습니다.
    • 몽고디비는 타임존 설정이 불가능해서 date 형식을 저장할 때 UTC로 변환되어 저장되어서 직접 붙어서 보기 불편하더라구요.
      커스텀 컨버터를 통해 write 할때 + 9시간을 더해 디비에서도 KTC처럼 보이도록 하고,
      반대로 read 할 때 - 0시간을 통해 정상적으로 KTC로 사용할 수 있도록 설정해주었습니다.

🔎 기타

@ddingmin ddingmin requested a review from CChuYong as a code owner April 2, 2025 13:34
Copy link
github-actions bot commented Apr 2, 2025

Auto labels applied based on the title of the PR.

Copy link
Member
@CChuYong CChuYong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0