Update get_next_standup_taker.py
Browse files
get_next_standup_taker.py
CHANGED
|
@@ -14,6 +14,8 @@ def count_weekdays(start_date, end_date, target_weekdays):
|
|
| 14 |
return count
|
| 15 |
|
| 16 |
def get_next_standup_taker(last_standup_taker, last_date_str, force_standup_taker=None, current_date=None):
|
|
|
|
|
|
|
| 17 |
today = current_date if current_date else datetime.now().date()
|
| 18 |
today_str = today.strftime("%Y-%m-%d")
|
| 19 |
weekday = today.weekday()
|
|
|
|
| 14 |
return count
|
| 15 |
|
| 16 |
def get_next_standup_taker(last_standup_taker, last_date_str, force_standup_taker=None, current_date=None):
|
| 17 |
+
print(type(last_date_str))
|
| 18 |
+
print(last_date_str)
|
| 19 |
today = current_date if current_date else datetime.now().date()
|
| 20 |
today_str = today.strftime("%Y-%m-%d")
|
| 21 |
weekday = today.weekday()
|