On 7/12/06, Paul Barry <[EMAIL PROTECTED]> wrote:
> Is there an easy way to change the timestamp that shows up on posts.

I'm customizing Scribbish for a theme for my Typo blog. Here's what I
did when I wanted the same thing you do:

In typo/themes/peekle/views/articles/_article.rhtml I changed this block

  <p class="author">
    Posted by <cite><%= author_link(article) %></cite>
    <abbr class="published" title="<%= article.created_at.xmlschema
%>"><%= js_distance_of_time_in_words_to_now article.created_at
%></abbr>
  </p>

to read

  <p class="author">
    Posted by <cite><%= author_link(article) %></cite> on
    <abbr class="published" title="<%= article.created_at.xmlschema
%>"><%= article.published_at %></abbr>
  </p>

This results in the kind-of graceless but pretty geeky byline

Posted by R. N. Dominick on Tue Jul 11 11:07:00 EDT 2006

but I like it.
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to