[Radiant] New Date Tag
John W. Long
ng at johnwlong.com
Mon Apr 9 15:19:35 CDT 2007
Sean Cribbs wrote:
> How about this:
>
> tag 'date' do |tag|
> page = tag.locals.page
> format = (tag.attr['format'] || '%A, %B %d, %Y')
> which = tag.attr['which']
>
> ...
>
> If none of the core team has problems with this, I'll write some tests
> and patch it into mental.
I like this, but am not sure that "which" is the right name for this
attribute.
--
John Long
http://wiseheartdesign.com
More information about the Radiant
mailing list