× Discussion about "DesignNow" Joomla template

Topic-icon PROBLEM: Please correct localization!

More
6 years 8 months ago #11497 by Forti42
In various template files (i.e. blog_item.php) following lines can be found:
<?php if ($this->item->params->get('show_create_date')) : ?>
	<td valign="top" class="createdate cat_date">
		<?php echo JHTML::_('date', $this->item->created, JText::_('%B')); ?>
        <?php echo JHTML::_('date', $this->item->created, JText::_('%d')); ?>,
        <?php echo JHTML::_('date', $this->item->created, JText::_('%Y')); ?>
	</td>
Should be changed to
<?php if ($this->item->params->get('show_create_date')) : ?>
	<td valign="top" class="createdate cat_date">
		<?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2')); ?>
	</td>

This is a crappy solution as it would be more comfortable to have a flexible choice based on the cat´s config, but it works for now on a German website.

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.110 seconds