Skip to content

Commit

Permalink
Fix timeago regression
Browse files Browse the repository at this point in the history
  • Loading branch information
danneu committed Jun 27, 2017
1 parent b4bb792 commit e298a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/macros/macros.html
Expand Up @@ -909,7 +909,7 @@ <h5 class="list-group-item-heading topic-panel-title">
<div class="list-group-item-text">
<div style="margin-top: 6px;">
by <a href="{{ topic.user.url }}" style="color: #fff">{{ topic.user.uname }}</a>,
{{ timeago(topic.latest_post.created_at) }}
{{ timeago(topic.created_at) }}
{% if topic.created_at|isNewerThan({ days: 1 }) %}
<span style="color: #00a9a9; font-size: 75%;">&#x27F5; <span style="border: 1px solid #51e0db; padding: 0px 3px;" data-toggle="tooltip" title="Started less than 24 hours ago">FRESH</span></span>
{% endif %}
Expand Down

0 comments on commit e298a31

Please sign in to comment.