Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Philp authored and Kenneth Philp committed Dec 24, 2024
1 parent 14f70e1 commit c9aa9e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ def home():
currentDate=dt.datetime.today()

formattedDate= currentDate.strftime("%x")
formattedTime = dt.datetime.now().strftime("%H:%M:%S")
print("The date is " + formattedDate)
return render_template("index.html", displayDate = formattedDate)
return render_template("index.html", displayDate = formattedDate, displayTime=formattedTime)

if __name__=="__main__":
app.run(debug=True)

0 comments on commit c9aa9e4

Please sign in to comment.