[Radiant] New Date Tag
Sean Cribbs
seancribbs at gmail.com
Mon Apr 9 15:24:43 CDT 2007
select? I'm up for suggestions.
Sean
John W. Long wrote:
> 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
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20070409/1c347654/attachment.html
More information about the Radiant
mailing list