K2 article and Date format - where can i change it?

Create awesome game website with Game Magazine Joomla template
GK User
Sat Aug 16, 2014 12:09 pm
Hello I wold like to change the date format in k2 article. Where is the file to change? I have changed languages/en-GB/en-GB.com_k2.ini and languages/en-GB/en-GB.mod_k2_content.ini but the date is still in the same format...
User avatar
Junior Boarder

GK User
Mon Aug 18, 2014 3:44 pm
Please open file : root/templates/gk_game_magazine/html/com_k2/templates/default/item.php and there find this lines :

Code: Select all
 <time datetime="<?php echo JHtml::_('date', $this->item->created, JText::_(DATE_W3C)); ?>">
                        <?php echo JHTML::_('date', $this->item->created , JText::_('l, d F Y')); ?>
                      </time>


As you may see in this part JText::_('l, d F Y')) you can change the date format.
User avatar
Platinum Boarder


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