update week start
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-06-08 23:05:37 +02:00
parent 490f36d178
commit a006eb48db

View File

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