in rotation.py [0:0]
def get_week(date): week = datetime.fromisocalendar(*date.isocalendar()[:2], day=1) return week.strftime("%Y-%m-%d")