Would anyone know why the following code keeps outputting my published date as Nov 23 2010
on my blog preview Chunk. See attached.
<div id="blogcalendar">
<div id="cal_month">
<div align="center">[[*publishedon:strtotime:date=`%b`]]</div></div>
<div id="cal_date"><div align="center">[[*publishedon:strtotime:date=`%d`]]</div></div>
<div id="cal_year"><div align="center">[[*publishedon:strtotime:date=`%Y`]]</div></div>
</div>
The actual date should be Feb 11, 2011 which is when the page was published. Interstingly, the
actual article outputs the correct date.
Fixed this.
I had an asterix in there
[[*publishedon:strtotime:date=`%d`]]
whereas I should have had a plus symbol.
[[+publishedon:strtotime:date=`%d`]]