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

fix: 인증 마감 경고 시간 검증 추가 #105

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

kimyu0218
Copy link
Collaborator

Issue Number

close: #

작업 개요

(#84)

  • 문제 상황 : 오전/오후/종일 미션 관계없이 미션 인증날 11시, 23시에 인증 마감 경고 푸시가 감
  • 해결 : isVerificationWarningPushTime을 추가하여 인증 마감까지 1시간 남았는지 검증
public boolean isVerificationWarningPushTime(final LocalTime now) {
   Duration duration = Duration.between(now, TimeUtil.of(uploadEndTime));

    return duration.isPositive() && duration.toHours() <= 1;
}

작업 사항

여기에 작성하세요

고민한 점들(필수 X)

여기에 작성하세요

스크린샷(필수 X)

여기에 작성하세요

@kimyu0218 kimyu0218 requested a review from songyi00 as a code owner December 3, 2024 14:05
@kimyu0218 kimyu0218 merged commit 1fda708 into develop Dec 3, 2024
1 check passed
@kimyu0218 kimyu0218 deleted the fix/#84-fcm-push branch December 3, 2024 14:07
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