Skip to content

Commit

Permalink
Updated date format
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Kanashiro <[email protected]>
  • Loading branch information
lucaskanashiro committed Dec 11, 2015
1 parent a4d2e03 commit ea9a50a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% load i18n tz highlight date_format urls %}
{% load i18n tz highlight urls %}

<div class="row">
<div class="col-md-12">
<small>{% datetime_format result.created_at %} {% profile_url result.username %}</small>
<small>{{ result.created_at|date:"d F Y" }} {% profile_url result.username %}</small>

<h4><a href="{{result.url}}">{{ result.title }}</a></h4>
{% if result.body %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n tz highlight upstream date_format %}
{% load i18n tz highlight upstream %}

<div class="row">
<div class="col-md-2">
Expand All @@ -16,7 +16,7 @@ <h4><a href="{{result.url}}">{{ result.title }}</a></h4>
<p>{{ result.description|striptags|truncatewords:"85" }}</p>
{% endif %}

<small><strong>{% trans "Since" %}: {% date_format result.created_at %}</strong></small>
<small><strong>{% trans "Since" %}: {{ result.created_at|date:"d F Y" }}</strong></small>
<br>
<small>{% trans "Registred in" %}: <strong>{% trans "Community" %}</strong></small>
</div>
Expand Down

0 comments on commit ea9a50a

Please sign in to comment.