I was looking at [1] this commit, and thought it might help simplify
the date output in mzingi theme files, however, I must be doing
something wrong.
adding
Format::apply( 'format_date', 'post_pubdate_out','<span
class="calyear">{Y}</span><br><span class="calday">{j}</span><br><span
class="calmonth">{F}</span>' );
to theme.php results in a raw output of pubdate ie, 2008-10-20
14:27:09. No span or br tags when using php $post->pubdate->out();
in a template.
Perchance I'm misunderstanding the commit, and most likely I'm
deploying it incorrectly. Any insight greatly appreciated.
~miklb
[1]http://trac.habariproject.org/habari/changeset/2937
--~--~---------~--~----~------------~-------~--~----~
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/habari-dev
-~----------~----~----~----~------~----~------~--~---