Closed Nyhilo closed 2 years ago
days_since_beginning = (date - START_DATE).days returns 0 for the first day, and therefore 2 for the third day. We add a +1 so it returns 3 for the third day, etc.
days_since_beginning = (date - START_DATE).days
days_since_beginning = (date - START_DATE).days
returns 0 for the first day, and therefore 2 for the third day. We add a +1 so it returns 3 for the third day, etc.