<div class='well'>
  <h3 class='page-header'><%= _("Latest Posts") %></h3>
  <ul class='unstyled'>
  <% if @recent_posts.size == 0 %>
    <li><%= link_to _("No posts yet, why don't you start and write one"), :controller => 'content', :action => 'new' %> ?</li>
  <% else %>
    <% for post in @recent_posts -%>
    <li>
      <h5><%= sprintf("%s on %s at %s",
        link_to_permalink(post, post.title),
        post.published_at.strftime(this_blog.date_format),
        post.published_at.strftime(this_blog.time_format)) %></h5>
      <p><%= post.body.strip_html.slice(0,300) if post.body %></p>
	  <hr />
    </li>
    <% end %>
  <% end %>
  </ul>
</div>

<div class='well'>
  <h3 class='page-header'><%= _("Latest Posts") %></h3>
  <ul class='unstyled'>
  <% if @recent_posts.size == 0 %>
    <li><%= link_to _("No posts yet, why don't you start and write one"), :controller => 'content', :action => 'new' %> ?</li>
  <% else %>
    <% for post in @recent_posts -%>
    <li>
      <h5><%= sprintf("%s on %s",
        link_to_permalink(post, post.title),
        display_date_and_time(post.published_at)) %></h5>
      <p><%= post.body.strip_html.slice(0,300) if post.body %></p>
	  <hr />
    </li>
    <% end %>
  <% end %>
  </ul>
</div>

Fix latest posts date format with distance_of_time_in_words
Fix latest posts date format with distance_of_time_in_words

The Latest Posts on the admin dashboard is showing
"distance_of_time_in_words" as the date of each post, because that
is what is configured as my blog's date format.  Elsewhere, this
date format is treated as a special case rather than a strftime format.

Format the date with display_date_and_time rather than directly calling
strftime on the date and time format of the blog.
