Permalink
Browse files

Finally, HTML5 time is working here. I am stupid.

  • Loading branch information...
1 parent 304032a commit d389554c1f8b0abe8dc47c67cb0a08a55c978d5a @yellowled committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin_commentsearch_searchresults.tpl
@@ -3,7 +3,7 @@
{if $comment_results}
<ul class="plainList">
{foreach from=$comment_results item="result"}
- <li><span>{if $result.type == 'TRACKBACK'}<a href="{$result.url|@escape}">{else}<b>{/if}{$result.author|@escape}{if $result.type == 'TRACKBACK'}</a>{else}</b>{/if} {$CONST.IN} <a href="{$result.permalink|@escape}">{$result.title|@escape}</a> {$CONST.ON} <time datetime="{$result.ctimestamp|@formatTime:$template_option.date_format}">{$result.ctimestamp|@formatTime:$template_option.date_format}</time>:</span>
+ <li><span>{if $result.type == 'TRACKBACK'}<a href="{$result.url|@escape}">{else}<b>{/if}{$result.author|@escape}{if $result.type == 'TRACKBACK'}</a>{else}</b>{/if} {$CONST.IN} <a href="{$result.permalink|@escape}">{$result.title|@escape}</a> {$CONST.ON} <time datetime="{$result.ctimestamp|@serendipity_smarty_html5time}">{$result.ctimestamp|@formatTime:$template_option.date_format}</time>:</span>
{$result.comment|@strip_tags|@truncate:200:" ... "}
</li>
{/foreach}

0 comments on commit d389554

Please sign in to comment.