We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Revo Discussions & Support
Revolution 2.2
Search
ago filter problem
39 Posts
pixeltoaster
Reply #1,
14 years, 7 months ago
Hello
I have a little problem, since i changed the locale to FR, the :ago date filter seem to be broken.
The output is 42 years.
How can i fix this?
I have tried a snippet to set locale to en_US just before the getFeed call but no luck.
Thx
39 Posts
pixeltoaster
Reply #2,
14 years, 7 months ago
[[+date_timestamp:date:ago]]
to
[[+date_timestamp:strftime:date=`%D %H:%M:%S`:ago]]
Seem to do the trick