Change K2 Date Format
Rate this topic: 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...
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...
-
- 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>
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>
-
- Platinum Boarder
- GK User
- Tue May 12, 2015 7:05 am
- Reply with quote
- Report this post
Ok, thank you Oscar...
problem fixed...
problem fixed...
-
- 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.
-
- Platinum Boarder
4 posts
• Page 1 of 1