Skip to content

Commit ad1bfe0

Browse files
author
Keng Susumpow
committed
Clarify epidemiological week logic and return value descriptions in CLAUDE.md
1 parent d0c78df commit ad1bfe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ The library follows a simple, focused architecture:
3434
## Key Implementation Details
3535

3636
- **Date Format**: Strictly enforces YYYY-MM-DD format using regex validation
37-
- **Epidemiological Week Logic**: Week 1 starts on the Sunday before the first Thursday of the year
37+
- **Epidemiological Week Logic**: First epi week starts on Sunday and includes the first Thursday of the year
3838
- **Error Handling**: Raises ValueError with descriptive messages for invalid date formats
39-
- **Return Values**: Returns week numbers 1-53, or 0 for dates before the start of the epidemiological year
39+
- **Return Values**: Returns 0 for dates before the start of the epidemiological year
4040

4141
## Code Conventions
4242

0 commit comments

Comments
 (0)