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

Add kr time zone in push notification #51

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

minkukjo
Copy link
Member

@minkukjo minkukjo commented Sep 2, 2024

No description provided.

@minkukjo minkukjo self-assigned this Sep 2, 2024
@@ -23,7 +24,7 @@ public class PushNotificationScheduler {

@Scheduled(fixedDelay = 60000)
public void run() {
LocalDateTime now = LocalDateTime.now();
ZonedDateTime now = ZonedDateTime.now(ZoneId.of("Asia/Seoul"));
Copy link
Collaborator

Choose a reason for hiding this comment

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

굳~ 근데 요거를 글로벌로 지정할 수는 없나? 다른 now 필요 로직에서 누락할 수는 있을듯

Copy link
Member Author

Choose a reason for hiding this comment

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

@hyh1016
흠 요건 별도로 한 번 찾아서 적용해볼게
지금 날짜 관련해서 UTC로 문제생기는 케이스가 더러 있는 모양임 ㅜㅜ

@minkukjo minkukjo merged commit e8c281e into main Sep 2, 2024
3 checks passed
@minkukjo minkukjo deleted the minkuk/fix/user-notification-time-zone branch September 2, 2024 15:38
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.

2 participants