Can I use the &dateFormat parameter to format [+unpub_date+] ?
I use this object to sort the list, this way I can use Ditto as an event calender works great but I would like to see the actual date instead of the unix timestamp.
how does &dateFormat work? In the documentation I do not see how it works or how to format the date (removing time etc)
Dimmy
DittoRulz!!
mm is the [+date+] place holder not the creationdate? or can it be any date? if so how would you do that in ditto?
I am a bit confused.
The call could look like this:
[[ditto? &sortBy=`unpub_date` &dateFormat=`%d %B %Y` ]]
As we apply a specific date format ditto will return the result in a [+date+] placeholder.
:-)
ok so ditto knows that unpub_date is a date nice.
works like a charm