Date/Timestamp issues

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
Tue Sep 10, 2013 6:18 pm
Reply with quote
Report this post
Hello,
I'm trying to change my date/timestamp for articles, and nothing is working correctly.

These are the settings I'm trying to achieve:
Code: Select all
DATE_FORMAT_LC="l, F j Y"
DATE_FORMAT_LC4="m-d-Y"
DATE_FORMAT_LC3="F d Y"
DATE_FORMAT_LC2="l, F j Y H:i"
DATE_FORMAT_LC1="l, F j Y"


What I've done so far:
1. Added Site Overrides in the Language Manager, that didn't work.
2. Directly edited the en-GB.ini file in language/en-GB with these new settings, that didn't work.
3. Changed to the default Joomla template - that worked.

Any suggestions?

Thanks,
Craig
User avatar
Junior Boarder

GK User
Tue Sep 10, 2013 7:38 pm
Reply with quote
Report this post
Hi,
are you talking about standard articles or K2 items?
User avatar
Platinum Boarder

GK User
Tue Sep 10, 2013 7:50 pm
Reply with quote
Report this post
If standard articles check here:
gk_gamenews\html\com_content\article\default.php
User avatar
Platinum Boarder

GK User
Wed Sep 11, 2013 11:06 pm
Reply with quote
Report this post
Pawel - Yay! That's the ticket. :)

(BTW - they are standard joomla articles)

Thanks!
Craig
User avatar
Junior Boarder

GK User
Mon Nov 18, 2013 8:46 pm
Reply with quote
Report this post
How do I change the date/time on k2 items in category list? I dont want to show the time, only the date
Now is like "Monday, 18 November 2013 18.30" and
i want like "18 Nov 2013"
User avatar
Junior Boarder

GK User
Mon Nov 18, 2013 11:27 pm
Reply with quote
Report this post
Probably we talk about this : K2_DATE_FORMAT_LC2
you will find it in K2 language file: language\en-GB\en-GB.com_k2.ini

Change those
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"
User avatar
Platinum Boarder

GK User
Mon Nov 18, 2013 11:37 pm
Reply with quote
Report this post
Can I do these changes to the template overide?
User avatar
Junior Boarder

GK User
Mon Nov 18, 2013 11:47 pm
Reply with quote
Report this post
Joomla since 2.5 allows to override also language strings, but I have never used this. :whistle:

Because we don't talk about template but language file, as you saw.
User avatar
Platinum Boarder


cron