return an integer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-05-18 01:36:01 +02:00
parent 60aae481bc
commit d9c397d2ce

View File

@ -1,7 +1,10 @@
from math import floor
from datetime import date
import azure.functions as func
def main(req: func.HttpRequest) -> func.HttpResponse:
startdate = date(2022, 2, 6)
return func.HttpResponse(
"test",
floor((date.today() - startdate).days / 7),
status_code=200)