0

I am using the Date TV with a custom format: %b %e, %Y which appears as: May 6, 2015.

However, I am having issues getting this to appear correctly within a getResource chunk, eg: [[+tv.NewsDate]].

The date appears but doesnt follow the custom format. It revert back to the default.

Any ideas on how to achieve this?

MeltingDog
  • 14,310
  • 43
  • 165
  • 295

1 Answers1

1

I prefer to format the date during the output by an output filter [[+tv.NewsDate:strtotime:date=`%b %e, %Y`]] and set the output of the Date TV to standard. The output of the TV could be different from page to page with that.

Jako
  • 832
  • 5
  • 11