maternal
Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

22744 Posts in 6702 Topics- by 17593 Members - Latest Member: permsk

16-09-2019 15:09:39
JOOM::GALLERY::FORUMJoomGallery 2.x ACLBackend / AdministrationDate format
Pages: [1]
Print
Author Topic: Date format  (Read 2071 times)
0 Members and 1 Guest are viewing this topic.
larryp
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: 20-10-2011 01:12:23 »

I am using 1.7 and I cannot get the date format to change in the backend. No matter what I set the configuration to under General Setting >> Date/Time Format, it still shows the date in the comments area as (for instance) Wednesday, 19 October 2011 . Is there something else I can do to alter that?

UPDATE:
I found that Joomgallery is using the deprecated php strings for date format. To make the date appear the way I wanted, had to go into "language/en-GB/en-GB.ini" and define a new DATE_FORMAT_LC (e.g. DATE_FORMAT_LC5="d-m-Y H:i"). Then change in "components/com_joomgallery/views/detail/tmpl/default_commentsarea.php " the DATE_FORMAT_LC to the version I added (around line number 29). Now it works OK. Hope that helps someone.
« Last Edit: 20-10-2011 06:25:07 by larryp » Logged
Pages: [1]
Print
Jump to:  

HOSTED BY SCHWARZKÜNSTLER ®

PROTECTED BY  ZB BLOCK  AND Project Honey Pot
Theme orange-lt created by panic

Bad Behavior has blocked 10931 access attempts in the last 7 days.

maternal