🙂
For some reason the date format is brought from administratorlanguage ini file, not from common language ini file.
So, you can change DATE_FORMAT_LC3 variable in administratorlanguage or set a new one (DATE_FORMAT_MY) in administratorlanguage or common language ini file.
DATE_FORMAT_LC3=”d F Y”
Change to
DATE_FORMAT_LC3=”d F Y H:i”
Also, your code from templatesja_nexhtmlcom_contentarticledefault.php:
<?php if ($params->get('show_create_date')) : ?>
<dd class="create">
<?php echo JText::sprintf('JACOM_CONTENT_CREATED_DATE_ON', JHtml::_('date',$this->item->created, JText::_('DATE_FORMAT_LC3'))); ?>
</dd>
<?php endif; ?>
JACOM must be just COM.
And in
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<?php echo JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date',$this->item->modified, JText::_('DATE_FORMAT_LC3'))); ?>
</dd>
correct code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE_ON', JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC3'))); ?>
</dd>
<?php endif; ?>
Please fix. 🙂