Skip to content
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

서버에서 UTC와 KST를 같이 쓰고 있어 contribution과 streak 계산이 잘못 되고 있던 문제 수정 #126

Merged
merged 12 commits into from
Jan 5, 2025

Conversation

BumgeunSong
Copy link
Owner

  • DB에는 무조건 UTC timestamp로 저장한다.
  • 서버에서 비즈니스 로직을 계산할 때는 timezone을 명확히 한다.
  • 클라이언트에 내려줄 때는 ISO string으로 내려준다.

@BumgeunSong BumgeunSong self-assigned this Jan 5, 2025
Copy link

github-actions bot commented Jan 5, 2025

Visit the preview URL for this PR (updated for commit 809def4):

https://artico-app-4f9d4--pr126-fix-timezone-2wddzbxu.web.app

(expires Sun, 12 Jan 2025 15:17:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 28a2175c2dcc0b022ca0588f62a1bbc55f051f03

@BumgeunSong BumgeunSong merged commit 9123231 into main Jan 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant