convert to proper time db object, get rid of the 'str' messes
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
|
||||
{% block content %}
|
||||
<span><h1>{% block title %} Edit Event {% endblock %}</h1></span>
|
||||
{% set convertedTime = datetime.strptime(event.period.periodTime, "%H:%M:%S") %}
|
||||
<p>
|
||||
<b>Period {{ event.period.period }}</b> <br> Time: {{ convertedTime.strftime("%I:%M %p") }}
|
||||
<b>Period {{ event.period.period }}</b> <br> Time: {{ event.period.periodTime.strftime("%I:%M %p") }}
|
||||
</p>
|
||||
{% if event.task_id != None %}
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user