Change K2 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
Thu May 07, 2015 3:42 pm
Reply with quote
Report this post
Hi, this is just a simple request...

The K2 articles on this template uses date format >>> 'M j'

I would like to change the K2 article date format into this >> 'd F Y | H:i'

I tried to look the code but I'm not sure which file is it... can you help with this?

Thank you very much...
User avatar
Senior Boarder

GK User
Sun May 10, 2015 1:39 pm
Reply with quote
Report this post
Hi,
if we talk about K2 item view :
templates\gk_bluap\html\com_k2\templates\default\item.php

line 50

<li class="itemDate"><time datetime="<?php echo JHtml::_('date', $this->item->created, JText::_(DATE_W3C)); ?>"><?php echo JHTML::_('date', $this->item->created, JText::_('F j, Y')); ?></time></li>
User avatar
Platinum Boarder

GK User
Tue May 12, 2015 7:05 am
Reply with quote
Report this post
Ok, thank you Oscar...
problem fixed...
User avatar
Senior Boarder

GK User
Tue May 12, 2015 7:32 am
Reply with quote
Report this post
In others files in this same folder you have to search in you want to change also in blog view etc.
User avatar
Platinum Boarder


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