-
AuthorPosts
-
January 17, 2013 at 1:29 pm #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!
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
January 18, 2013 at 7:45 am #480288Hi 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
AuthorPostsViewing 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
Show the year in k2 news
Viewing 2 posts - 1 through 2 (of 2 total)