Skip to content

Commit d823ae3

Browse files
fix(curriculum): clarify moon phase day numbering in Daily Coding Challenge 60 (freeCodeCamp#64139)
Co-authored-by: Huyen Nguyen <[email protected]>
1 parent 8f480d8 commit d823ae3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

curriculum/challenges/english/blocks/daily-coding-challenges-javascript/68c497f3aaefc9fd9f1b0e24.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ After day 28, the cycle repeats with day 1, a new moon.
2222
- You will not be given any dates before the reference date.
2323
- Return the correct phase as a string.
2424

25+
**Note:** Day 1 represents the day of the new moon, meaning 0 days have passed since the last new moon.
26+
2527
# --hints--
2628

2729
`moonPhase("2000-01-12")` should return `"New"`.

curriculum/challenges/english/blocks/daily-coding-challenges-python/68c497f3aaefc9fd9f1b0e24.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ After day 28, the cycle repeats with day 1, a new moon.
2222
- You will not be given any dates before the reference date.
2323
- Return the correct phase as a string.
2424

25+
**Note:** Day 1 represents the day of the new moon, meaning 0 days have passed since the last new moon.
26+
2527
# --hints--
2628

2729
`moon_phase("2000-01-12")` should return `"New"`.

0 commit comments

Comments
 (0)