On 7/12/06, R. N. Dominick <[EMAIL PROTECTED]> wrote:
>
>   <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.

You can also use article.published_at.strftime to get better control
over the format.  Run 'ri strftime' or 'man strftime' to see all of
the options.


Scott
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to