Skip to content

Commit

Permalink
Fix for inaccurate timestamps from Issue 39
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcpheron committed Mar 16, 2010
1 parent 3813f5c commit 28f129b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webapp/templates/_link.tpl
Expand Up @@ -17,7 +17,7 @@
<a href="http://twitter.com/{$l->container_tweet->author_username}">{$l->container_tweet->author_username}</a>
</div>
<div class="grid_3 right small">
<a href="http://twitter.com/{$l->container_tweet->author_username}/post/{$l->container_tweet->post_id}">{$l->container_tweet->adj_pub_date|relative_datetime}</a>
<a href="http://twitter.com/{$l->container_tweet->author_username}/post/{$l->container_tweet->post_id}">{$l->container_tweet->pub_date|relative_datetime}</a>
</div>
<div class="grid_13">
{if $l->is_image}<a href="{$l->url}"><div class="pic"><img src="{$l->expanded_url}" /></div></a>
Expand Down
2 changes: 1 addition & 1 deletion webapp/templates/_post.mine.tpl
Expand Up @@ -18,7 +18,7 @@
<a href="http://twitter.com/{$t->author_username}">{$t->author_username}</a>
</div>
<div class="grid_3 right small">
<a href="http://twitter.com/{$t->author_username}/status/{$t->post_id}">{$t->adj_pub_date|relative_datetime}</a>
<a href="http://twitter.com/{$t->author_username}/status/{$t->post_id}">{$t->pub_date|relative_datetime}</a>
</div>

<div class="grid_11">
Expand Down
2 changes: 1 addition & 1 deletion webapp/templates/_post.other.tpl
Expand Up @@ -19,7 +19,7 @@
{$t->author->follower_count|number_format}
</div>
<div class="grid_3 right small">
<a href="{$cfg->site_root_path}post/?t={$t->post_id}">{$t->adj_pub_date|relative_datetime}</a>
<a href="{$cfg->site_root_path}post/?t={$t->post_id}">{$t->pub_date|relative_datetime}</a>
</div>

<div class="grid_12 omega">
Expand Down
2 changes: 1 addition & 1 deletion webapp/templates/_post.public.tpl
Expand Up @@ -18,7 +18,7 @@
{if $t->author->follower_count > 0}<br />Followers: {$t->author->follower_count|number_format}{/if}
</div>
<div class="grid_3 right small">
<a href="http://twitter.com/{$t->author_username}/status/{$t->post_id}">{$t->adj_pub_date|relative_datetime}</a>
<a href="http://twitter.com/{$t->author_username}/status/{$t->post_id}">{$t->pub_date|relative_datetime}</a>
</div>
<div class="grid_11">
{if $t->link->is_image}<div class="pic"><a href="{$t->link->url}"><img src="{$t->link->expanded_url}" /></a></div>{/if}
Expand Down

0 comments on commit 28f129b

Please sign in to comment.