Spaces:
Runtime error
Runtime error
Commit
·
119489c
1
Parent(s):
e5097ae
Update main.py
Browse files
main.py
CHANGED
@@ -14,7 +14,7 @@ app=FastAPI()
|
|
14 |
@app.get('/')
|
15 |
def index():
|
16 |
tz = pytz.timezone('Etc/GMT+3')
|
17 |
-
return "This is the defult page"+str(datetime.
|
18 |
|
19 |
@app.get('/reviews',status_code=status.HTTP_200_OK)
|
20 |
def get_reviews():
|
|
|
14 |
@app.get('/')
|
15 |
def index():
|
16 |
tz = pytz.timezone('Etc/GMT+3')
|
17 |
+
return "This is the defult page"+str(datetime.now(tz).date())
|
18 |
|
19 |
@app.get('/reviews',status_code=status.HTTP_200_OK)
|
20 |
def get_reviews():
|