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...
-
- 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 :
As you may see in this part JText::_('l, d F Y')) you can change the date format.
- 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.
-
- Platinum Boarder
2 posts
• Page 1 of 1