-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sprint dates now correctly set for 2023 #22
base: dev
Are you sure you want to change the base?
Conversation
14564a2
to
284aa84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's looking good! I didn't get a chance to test it though, so let's do that together today.
if(first_day_of_year.weekday()==6): | ||
while first_day_of_year.weekday() != 0: # 0 represents Monday | ||
first_day_of_year += timedelta(days=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's talk about what this is doing during our meeting today.
|
||
iso_calendar_info = today.isocalendar() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
#if first day of year is thursday or later, the isocalendar method i am using will not count that week as a week | ||
##so this code counts it as a week if it starts on any day other than saturday |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great explanation!
No description provided.