Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • celtico Friend
    #184096

    Hello, i’m using k2 on Ja Vintas.
    How can i show the year on news?
    As you can see on attachment, now it’s showed only day and month.

    Thanks!


    1. date
    HeR0 Friend
    #480288

    Hi Celtico,

    The seems it is articles content details, you can change format of date time in file templates/ja_vintas/html/com_content/articles/default.php , please go to line
    [PHP]<?php echo JText::sprintf(‘JACOM_CONTENT_CREATED_DATE_ON’, JHtml::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC2’))); ?>[/PHP]
    You need change date format JText::_(‘DATE_FORMAT_LC2’) to type as you desired.
    Pls go to http://docs.joomla.org/How_do_you_change_the_date_format%3F get more type.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  HeR0 11 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum