I am using getResources to pull in a list of events. In the tpl, a number of TVs are outputted.
There are two that use output filters:
[[+tv.calendar_date_start:date=`%A %b %e, %Y`]]
[[+content:ellipsis=`225`]]
Ellipsis works great. Date returns "Wednesday Dec 31, 1969". The same date call inside another template (called as a regular [[*tv]]) works fine.
When I change the TV calendar_date_start to use the "Date" output type, getResources also returns Wednesday Dec 31, 1969, but when it’s called outside of getResources, it works fine.
Also..
When the output type is set to date and the options are "%A %b %e, %Y"..
In the template it works fine: Wednesday Apr 13, 2011
In getResources its raw: 2011-04-13 16:07:00
Sigh. Only &includeTVs was called, not &processTVs. Schoolboy error!