more stuff

This commit is contained in:
2022-11-12 21:28:13 -05:00
parent 82d45ea0ce
commit 7169bb11c9
7 changed files with 66 additions and 24 deletions

View File

@@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% set createdTime = datetime.fromtimestamp(task.created_timestamp) %}
{% set createdTime = datetime.strptime(str(createdTime), '%Y-%m-%d %H:%M:%S') %}
{% block content %}
<span><h1>{% block title %} {{ task.title }} {% endblock %}</h1></span>
@@ -12,7 +13,7 @@
<p>{{ task.description }}</p>
</div>
<div>
<p>Created: {{ createdTime }} </p>
<p>Created: {{ createdTime.strftime('%Y-%m-%d %I:%M %p') }} </p>
</div>
<div>
<p>Due: {{ task.due_timestamp }}</p>