1. Does the TV have the Unixtime Widget set?
2. Do you have &dateSource set to the tv name?
3. Are you using [+date+] in your template?
1 It’s not using Unixtime, it’s using Dateformatter
2 I’m not using &datesource, I’m using &sortby=`showdate`
3 I am using [+date+] in the template.
I’ll try playing about with this, having written down those points I think I may have spotted the error
-
MODX Staff
- 12,272 Posts
Check both that you’re not running any version of MySQL 5.0.51 and that you’re running the latest Ditto code (2.1).
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I think you are using [+date+] in your Ditto template called "BlogTemplate".
But it outputs raw unixtime despite you specifiy the output format using "&dateFormat".
So how about using [+showdate+] with PHx ?
I am not familiar with PHx plugin, but it can format the TV, I believe...
And check the debug output if [+date+] is outputted properly.