Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

created iso8601 calendar for determining weekOfYear #369

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

fkiwitt
Copy link
Contributor

@fkiwitt fkiwitt commented Sep 28, 2021

Issue

If the user looks at the Mensa menu only the upcoming week will be displayed right now. This is caused by different calendar standards used in Campus iOS App and the Eat API resulting in a different weekOfYear than expected by the API. See https://en.wikipedia.org/wiki/Week#Other_week_numbering_systems for further information.

Calculating weekOfYear in the ISO8601 Calendar fixes this issues.

Copy link
Member

@tgymnich tgymnich left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks a lot.

@tgymnich tgymnich merged commit b4542a2 into TUM-Dev:main Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants