Skip to main content

default_day

Function default_day 

Source
pub fn default_day(year: Year, today: NaiveDate) -> Day
Expand description

The day to use when none was given: today during the event, otherwise the first puzzle.

Today is clamped to the end of year’s event, which is day 12 from Year::FIRST_SHORT on.