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

Feat: 일별 음식에서 해당 날짜 없으면 0 반환 및 한 주 단위로 묶어 데이터 반환 (#120) #121

Merged
merged 3 commits into from
Nov 26, 2023

Conversation

synoti21
Copy link
Contributor

  • 기존 로직은 날짜 없으면 생략하고 다른 날의 음식들을 마저 반환
  • 해당 날짜에 음식이 없으면 0을 반환하도록 수정
  • 한달간의 음식의 경우, 1주 단위로 묶어 값을 합한 후, 총 4개의 원소를 반환하도록 수정

@synoti21 synoti21 added the feat 기능 구현 label Nov 26, 2023
@synoti21 synoti21 requested a review from win-luck November 26, 2023 10:38
@synoti21 synoti21 self-assigned this Nov 26, 2023
@synoti21 synoti21 linked an issue Nov 26, 2023 that may be closed by this pull request
Copy link
Contributor

@win-luck win-luck left a comment

Choose a reason for hiding this comment

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

번거로운 수학 로직이었는데 너무 고생하셨습니다:)

@win-luck win-luck merged commit f1348c2 into master Nov 26, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: 날짜에 맞게 음식 데이터 반환
2 participants