update with new start of term
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-12-27 13:42:24 +01:00
parent dde07e1009
commit 3e7cb0f18a

View File

@ -5,7 +5,7 @@ import azure.functions as func
def main(req: func.HttpRequest) -> func.HttpResponse: def main(req: func.HttpRequest) -> func.HttpResponse:
startdate = date(2022, 8, 29) startdate = date(2023, 2, 27)
currentweek = floor((date.today() - startdate).days / 7) currentweek = floor((date.today() - startdate).days / 7)
return func.HttpResponse( return func.HttpResponse(
str(currentweek), str(currentweek),