update start date in functions
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
770f08b8db
commit
490f36d178
@ -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, 6)
|
startdate = date(2022, 2, 7)
|
||||||
currentweek = floor((date.today() - startdate).days / 7)
|
currentweek = floor((date.today() - startdate).days / 7)
|
||||||
return func.HttpResponse(
|
return func.HttpResponse(
|
||||||
str(currentweek),
|
str(currentweek),
|
||||||
|
Loading…
Reference in New Issue
Block a user