K2 item date with time

GK User
Mon Aug 07, 2017 1:15 pm
Hello guys,

I need my K2 items to have time of publish next to date.

Just like you have in TechNews (img attach).

I check in /templates/gk_writer/html/com_k2/templates/default/item.php line 137:

<?php echo JHTML::_('date', $this->item->created, JText::_('TPL_GK_WRITER_DATE_FORMAT')); ?>

but i dont know how to change TPL_GK_WRITER_DATE_FORMAT

Thanks
User avatar
Senior Boarder

teitbite
Sun Aug 13, 2017 11:19 am
Hi

"TPL_GK_WRITER_DATE_FORMAT" is a language value. You can translate it (change attributes for date() funciton) in template's language file or in language overrides in joomla panel.
User avatar
Moderator


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