I’m using this code to fetch intro’s to News items including it’s publishedon datefield. It does get the dates for the first three but not for the subsequent ajax requests.
All items fetched beyond the limit set show a date of 1/1/1970
If I change the limit to 6, the first six are correct.
Is this a bug or can I set some parameter to fix this?
Yes, I do: [[!+publishedon:hideYearWithinThisYear]] which strips the year if it is less than a year ago.
Because you’re asking, I tried [[!+publishedon:date=%e %B %Y]] too, and it returns empty, which explains the 1/1/1970. hideYearWithinThisYear snippet is as following:
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.