Hi there,
First of all thanks a bunch for making this great CMS.
I would like to know, how do I change default date format? Which is appearing in content?
I have put “Updated Content” tag on my home page but the date which it is showing is something like “Modified: 2006-11-26 10:49:45”
But I want it to be appeared as “Modified: 26-Nov-2006” and time as “10:49:45 am/pm” if possible.
Please guide me how do I do it, it’s my humble request.
Thank a billion in advance
default date format?
Re: default date format?
You can check the tag help by going to Extensions > Tags and then clicking on the specific tag name.
If you are referring to {modified_date}, the help says it uses the following param.
If you are referring to {modified_date}, the help says it uses the following param.
Code: Select all
(optional)format - Date/Time format using parameters from php's [url=http://php.net/strftime]strftime[/url]function. See [url=http://php.net/strftime]here[/url]for a parameter list and information.
Re: default date format?
And note that CMSMS has a default 'Date Format String' setting too:
Site Admin -> Settings - Global Settings ->General Settings (tab).
Though I don't know if this specific tag uses that setting.
Site Admin -> Settings - Global Settings ->General Settings (tab).
Though I don't know if this specific tag uses that setting.