convert integer to string
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d9c397d2ce
commit
0004ecf696
@ -5,6 +5,7 @@ import azure.functions as func
|
|||||||
|
|
||||||
def main(req: func.HttpRequest) -> func.HttpResponse:
|
def main(req: func.HttpRequest) -> func.HttpResponse:
|
||||||
startdate = date(2022, 2, 6)
|
startdate = date(2022, 2, 6)
|
||||||
|
currentweek = floor((date.today() - startdate).days / 7)
|
||||||
return func.HttpResponse(
|
return func.HttpResponse(
|
||||||
floor((date.today() - startdate).days / 7),
|
str(currentweek),
|
||||||
status_code=200)
|
status_code=200)
|
||||||
|
Loading…
Reference in New Issue
Block a user