strftime doens't work

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
weaselweasel
Forum Members
Forum Members
Posts: 23
Joined: Mon Dec 03, 2007 9:32 pm

strftime doens't work

Post by weaselweasel »

OK, this is a very strange thing.
When I try to change the strftime in the Comments-module, it does NOT print the date but some crazy nonsense.

I put this tag inside my News-template:
{cms_module module='comments' modulename='News' pageid='$entry->id' dateformat='%e %B %Y, %H:%M' lang='nl_NL'}

Then, on the page where it should print the date, it prints:
%Europe/Berlin %722 %2009, %18:%Jun

The exact same thing happens with the Formbuilder, when it tries to print a birth-date. So it's not in the comments-module, I think my CMS is fucked up somewhere. How do I solve this?
weaselweasel
Forum Members
Forum Members
Posts: 23
Joined: Mon Dec 03, 2007 9:32 pm

Re: strftime doens't work

Post by weaselweasel »

OK, I found out the comments-module only works with the date() format... But in the modulehelp it literally says that you can also set strftime(). Guess it's a bug? Why am I the only one with this problem??
I want to put the date in my own language, but this seems to be impossible.
Post Reply

Return to “CMSMS Core”