Commit a87948ea authored by katsel's avatar katsel
Browse files

Display current date and time

parent e7a85c2c
import flask
from datetime import datetime,date
app = flask.Flask(__name__)
app.config["DEBUG"] = True
......@@ -6,6 +7,6 @@ app.config["DEBUG"] = True
@app.route('/time', methods=['GET'])
def home():
return "It's Sunday morning"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment