Keyword

Change date format in new article

  • robm
  • robm's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 7 months ago #93854 by robm
Change date format in new article was created by robm
Hi,

 

How can I change the date format when adding a new article. I'm talking about the creation date, publish date.

I want to change is to 08-02-2011 20:10:30 instead of 2011-02-08 20:10:30

 

Thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93855 by Terry Britton
Replied by Terry Britton on topic Change date format in new article
The following article explains how to change the date format in Joomla, which is what K2 uses.  Also note the link at the bottom of the article to a page that explains what %A, %B, etc. mean.

docs.joomla.org/How_do_you_change_the_date_format%3F

Please Log in or Create an account to join the conversation.

  • robm
  • robm's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 7 months ago #93856 by robm
Replied by robm on topic Change date format in new article
Thank you but I;m talking about when adding a new article in front end or back end. (see attachtment for image)Terry A Britton said:
The following article explains how to change the date format in Joomla, which is what K2 uses.  Also note the link at the bottom of the article to a page that explains what %A, %B, etc. mean.

docs.joomla.org/How_do_you_change_the_date_format%3F

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #93857 by Terry Britton
Replied by Terry Britton on topic Change date format in new article
Sorry, I thought that article explained the backend also.  The backend is controlled by /administrator/language/en-gb/en-gb.ini.  The rest of the procedure is the same.

Change DATE_FORMAT_LC2 to %x or whatever.  That will change the created date and modified date.  I'm still looking into how to change the calendar format.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum