mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): clarify moon phase day numbering in Daily Coding Challenge 60 (#64139)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
co-authored by
Huyen Nguyen
parent
8f480d8cdf
commit
d823ae3102
+2
@@ -22,6 +22,8 @@ After day 28, the cycle repeats with day 1, a new moon.
|
||||
- You will not be given any dates before the reference date.
|
||||
- Return the correct phase as a string.
|
||||
|
||||
**Note:** Day 1 represents the day of the new moon, meaning 0 days have passed since the last new moon.
|
||||
|
||||
# --hints--
|
||||
|
||||
`moonPhase("2000-01-12")` should return `"New"`.
|
||||
|
||||
+2
@@ -22,6 +22,8 @@ After day 28, the cycle repeats with day 1, a new moon.
|
||||
- You will not be given any dates before the reference date.
|
||||
- Return the correct phase as a string.
|
||||
|
||||
**Note:** Day 1 represents the day of the new moon, meaning 0 days have passed since the last new moon.
|
||||
|
||||
# --hints--
|
||||
|
||||
`moon_phase("2000-01-12")` should return `"New"`.
|
||||
|
||||
Reference in New Issue
Block a user