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

[OCG] fix: make nextYearStartDate use the offset of the weekly type #74

Open
wants to merge 2 commits into
base: 2.37.8.1
Choose a base branch
from

Conversation

tokland
Copy link

@tokland tokland commented Jan 14, 2025

https://community.dhis2.org/t/quick-way-to-add-missing-iso-weeks-going-back-to-2011/2147/9

https://dhis2.atlassian.net/browse/DHIS2-18762

  • Fix: When calculating nextYearStartDate, the caller passes always 1, but that's only correct for Weekly-Monday. The offset for all the other weekly types were wrong (always 1), all fixed.

@adrianq adrianq changed the title fix: make nextYearStartDate use the offset of the weekly type [OCG] fix: make nextYearStartDate use the offset of the weekly type Jan 14, 2025
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