How to chnage the date format in Publisher template

Amazing blog Joomla template for personal website with extensive features, additional typography and nice showcase of featured posts.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Jun 21, 2013 6:45 am
Reply with quote
Report this post
Hello,

As a french speaker, I would like the date in the articles and in K2 formated right.

Actually, it comes as "août 29, 2012" and I would like to have "29 août 2012".

I didn't find anything in the "en-GB.tpl_gk_publisher.ini" related to it.

Please could you help me and tell me where I could find this date string.

Thank you very much and best regards
Frank

Joomla 2.5.11 / GK_publisher 3.9
User avatar
Junior Boarder

teitbite
Fri Jun 21, 2013 7:56 am
Reply with quote
Report this post
Hi

You can find the format in com_k2.ini file:

Code: Select all
K2_DATE_FORMAT="%d/%m/%Y - %H:%M"
K2_DATE_FORMAT_LC2="%A, %d %B %Y %H:%M"
K2_DATE_FORMAT_LC="%A, %d %B %Y"


I believe the most common is the one called K2_DATE_FORMAT_LC2
User avatar
Moderator

GK User
Mon Jun 24, 2013 6:54 am
Reply with quote
Report this post
Thanks very much !
User avatar
Junior Boarder

teitbite
Mon Jun 24, 2013 7:11 pm
Reply with quote
Report this post
Hi

No problem. Glad I could help.
User avatar
Moderator

GK User
Fri Sep 05, 2014 9:53 am
Reply with quote
Report this post
Hi,

Thanks for helping to find the date format of articles related to K2 component. Could you tell where to find exactly the big date format of the Publisher template demo home page. I managed to change its colour, but the mention com_k2.ini does not modify the day month order of the date. I would like to change it, the month should come first, then the day.

Thanks a lot in advance.
Regards,

Julia
User avatar
Fresh Boarder

teitbite
Sun Sep 07, 2014 8:30 pm
Reply with quote
Report this post
Hi

Please tell me an url to the example of the page You have in mind.
User avatar
Moderator

GK User
Sun Sep 07, 2014 11:25 pm
Reply with quote
Report this post
Hi,

This site is under construction www.nds.hu/petitv

Thanks in advance.
Regrads,
Julia
User avatar
Fresh Boarder

teitbite
Mon Sep 08, 2014 12:27 pm
Reply with quote
Report this post
Hi

Ok I see now. In language overrides please add new format for a text identifier: 'd M'

Here are possible parameters: http://php.net/manual/pl/function.date.php
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.