Commit ea87d6db authored by Neal Berones's avatar Neal Berones

fix: changed date format in details.html and index.html for announcements templates

parent 2a08f640
......@@ -5,7 +5,7 @@
{% block content %}
<head>
<h1>{{ announcement.announcement_title }}</h1>
<h2>by {{ announcement.author.first_name }} {{ announcement.author.last_name }}, {{ announcement.pub_date|date:"SHORT_DATE_FORMAT" }}</h2>
<h2>by {{ announcement.author.first_name }} {{ announcement.author.last_name }}, {{ announcement.pub_date|date:"d-m-Y" }}</h2>
</head>
<body>
<p>{{ announcement.announcement_body }}</p>
......
......@@ -11,7 +11,7 @@
<li><a href="{% url 'announcements:detail' announcement.id %}">
{{ announcement.announcement_title }}
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}
dated {{ announcement.pub_date|date:"SHORT_DATE_FORMAT" }}
dated {{ announcement.pub_date|date:"d-m-Y" }}
</a>
</li>
{% endfor %}
......
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