Well, I think that you can format the output value, for example:

        <span>$post.pubDate.strftime('%Y-%m-%d)</span>

-- Leandro.

   > <h1>My Blog</h1>

> > $for post in posts:
> >    <div class="post">
> >        <h2><a href="/posts/$post.slug">$post.title</a></h2>
> >        <p>$post.content</p>
> >        <span>$post.pubDate</span>
>

        <span>$post.pubDate</span>


> >    </div>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

  • [web... Josh Lusk
    • ... Anand Chitipothu
      • ... Leandro - ProfessionalIT - Soluções em Tecnologia da Informação .
        • ... Josh Lusk

Reply via email to