Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[[+createdon:ago]] problems in templates #34

Open
squarou opened this issue Feb 2, 2015 · 3 comments
Open

[[+createdon:ago]] problems in templates #34

squarou opened this issue Feb 2, 2015 · 3 comments

Comments

@squarou
Copy link

squarou commented Feb 2, 2015

I had problem with [[+createdon:ago]] wich was reffering to 45 years old.

It seems that using [[+createdon_raw:date=%d-%m-%Y:ago]] works for me in chunks/post/disthreadpost.chunk.tpl

Just wanted to share here.

@Nuan8
Copy link

Nuan8 commented Feb 2, 2015

Hi thanks for leaving that info. Do you mean the thread date? Like, "5 months ago"?

@mintnl
Copy link

mintnl commented Nov 26, 2015

change discuss.date_format in system-settings to "%Y-%m-%d %H:%M:%S" might help you out.
I have a Dutch localized setting, when the date_format changed to the above the :ago addition gives the right value

@squarou
Copy link
Author

squarou commented Nov 26, 2015

Ok Thank you i'll try that.

Le 26 novembre 2015 13:00:32 CET, mintnl [email protected] a écrit :

change discuss.date_format in system-settings to "%Y-%m-%d %H:%M:%S"
might help you out.
I have a Dutch localized setting, when the date_format changed to the
above the :ago addition gives the right value


Reply to this email directly or view it on GitHub:
#34 (comment)

Squarou

Envoyé depuis mon mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants