convert integer to string
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-05-18 01:37:50 +02:00
parent d9c397d2ce
commit 0004ecf696

View File

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