Dear marc trimble,
1. About Format Date:
- Please open the category_item.php fille (in folder your site/templates/sj_worldnews/html/com_k2/templates/yt-theme/) and find:
<div class="catItemDateCreated">
<?php echo JHTML::_('date', $this->item->created , JText::_('l, M d Y')); ?>
</div>
change to:
<div class="catItemDateCreated">
<?php echo JHTML::_('date', $this->item->created , JText::_('l, d. M, Y')); ?>
</div>
- Please open the theme1.php file( in folder: yoursite/templates/sj_worldnews/html/mod_sj_megak2news) and find:
<span class="moduleItemDateCreated"><?php echo JHtml::date($item0['date'], 'l, M d Y'); ?></span>
change to:
<span class="moduleItemDateCreated"><?php echo JHtml::date($item0['date'], 'l, d. M, Y'); ?></span>
-Please add
DATE_FORMAT_LC5="l, d. M, Y"
into file en-GB.ini(yoursite/language/en-GB/en-GB.ini).
then:
-Open default.php (templates/sj_worldnews/html/mod_k2_content/Default/default.php) and find:
<span class="moduleItemDateCreated"><?php echo JHTML::_('date', $item->created, JText::_('DATE_FORMAT_LC1')); ?></span>
change to:
<span class="moduleItemDateCreated"><?php echo JHTML::_('date', $item->created, JText::_('DATE_FORMAT_LC5')); ?></span>
-Open comments.php (templates/sj_worldnews/html/mod_k2_comments/comments.php) and find:
<span class="lcCommentDate">
<?php if($params->get('commentDateFormat') == 'relative'): ?>
<?php echo $comment->commentDate; ?>
<?php else: ?>
<?php echo JHTML::_('date', $comment->commentDate, JText::_('DATE_FORMAT_LC1')); ?>
<?php endif; ?>
</span>
change to:
<span class="lcCommentDate">
<?php if($params->get('commentDateFormat') == 'relative'): ?>
<?php echo $comment->commentDate; ?>
<?php else: ?>
<?php echo JHTML::_('date', $comment->commentDate, JText::_('DATE_FORMAT_LC5')); ?>
<?php endif; ?>
</span>
Thanks