Skip to content

Commit

Permalink
Some tweets have no date?
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jul 8, 2011
1 parent 6d3fedc commit 5cbc573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_website/templates/_twitter.html
Expand Up @@ -5,7 +5,7 @@
<li>
<a href="http://twitter.com/{{ tweet.user }}">{{ tweet.user }}</a>:
{{ tweet.text|urlize }}
<span class=meta>&mdash; {{ tweet.pub_date|timedeltaformat }} ago via {{ tweet.via }}</span>
<span class=meta>&mdash; {% if tweet.pub_date %}{{ tweet.pub_date|timedeltaformat }} ago {% endif %}via {{ tweet.via }}</span>
{%- endfor %}
</ul>
</div>
Expand Down

0 comments on commit 5cbc573

Please sign in to comment.