Repository navigation
feat(de): ISO calendar weeks (KW / Kalenderwoche) - #674
Open
Tzahreddin wants to merge 1 commit into
Open
Tzahreddin wants to merge 1 commit into
Tzahreddin wants to merge 1 commit into
Conversation
Add shared isoWeek helpers and a DE parser for KW 40, KW40/2026, Kalenderwoche N, and Woche N/YYYY. Bare week numbers use the reference ISO week-year (no roll-forward). Results are Monday–Sunday ranges. Related to wanasit#577 (ISO week notation). Note: This commit message was written with AI assistance. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Oct 13, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds German ISO-8601 calendar week parsing on top of chrono’s relative week units:
KW 40,KW40/2026,Kalenderwoche 12,Woche 12/2026start/end)Shared helper:
src/calculation/isoWeek.ts(reusable for EN/zh follow-ups).Related
2024-49周); this PR covers the GermanKWfamily and shares the week mathOut of scope (follow-ups)
diese/letzte/vorletzte Woche(today those stay duration-relative, consistent with EN)Q4/viertes Quartal)YYYY-N周parser for How to parse the value '2024-49周'? #577Test plan
npm test -- --testPathPattern='de_iso_calendar_week'test/de/still greenDisclosure: This pull request (title, description, and code) was created and written with AI assistance.
Made with Cursor