[Radiant] Radius Tag Date Format

Ben Morrow morrow599 at yahoo.com
Mon Mar 3 17:13:43 CST 2008


I'm using a basically unmodified version of the "Stylized Blog"
template.

I want to use a custom date format but I can't get it to work. In the
following example, the first two dates do not display at all. The third
one (the one that ships with Radiant) does display.

  <p class="info">on <r:date format="%F %d, %Y at %g:%i %a" /></p>
  <p class="info">Posted by <r:author /> on <r:date format="%F %d, %Y"
/></p>
  <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y"
/></p>

Do I have to define my custom date formats before I can use them?

Thanks in advance,

Ben
-- 
Posted via http://www.ruby-forum.com/.


More information about the Radiant mailing list