Blog creation date format

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
Wed Aug 07, 2013 8:02 am
Reply with quote
Report this post
Hi, in source code of gk_fashion, on html folder, I see:
Code: Select all
JText::_('d F, Y')


But that format,'d F, Y' , is not valid for spanish date format, and also, what I actually get in
http://www.grupocamaleon.com/trabajos is
31 Julio
without year indication.

How can I change date format to show something link '2013-08-07' or '7 de agosto de 2013' in blog list and article entries.

TIA, Antonio, GCC
User avatar
Junior Boarder

GK User
Wed Aug 07, 2013 6:25 pm
Reply with quote
Report this post
Hola, in Poland we have exactly the same problem with presenting the date format ;)

Use this:

Code: Select all
JText::_('d-m-Y')


d - Day (07)
m - month (08)
Y - Year (2013)
User avatar
Platinum Boarder

GK User
Wed Aug 07, 2013 6:28 pm
Reply with quote
Report this post
p.s.
http://php.net/manual/es/datetime.construct.php

and similar help tabs - check it.
User avatar
Platinum Boarder

GK User
Thu Aug 08, 2013 7:49 am
Reply with quote
Report this post
Pawel F wrote:Hola, in Poland we have exactly the same problem with presenting the date format ;)

Use this:

Code: Select all
JText::_('d-m-Y')


d - Day (07)
m - month (08)
Y - Year (2013)


Hi, thnx for your reply.

I already knew "date()" format string details. The problem is that your solution needs to change sourrce code of template (many files), and I don't want to do it, as those changes are lost when applying updates.

I'm looking for a solution implying overrides, maybe some translation fix.

Rgds, Antonio.
User avatar
Junior Boarder


cron