1
0
Fork 0

convert integer to string
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2022-05-18 01:37:50 +02:00
parent d9c397d2ce
commit 0004ecf696
1 changed files with 2 additions and 1 deletions

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)