- Code: Select all
<?php echo JHTML::_('date', $this->item->created, JText::_('j,m.Y')); ?>
Why not use a date format here?
And i never saw a date like "31 , 05.2015", so i had to change the ",", but now i use:
<?php echo JHTML::_('date', $this->item->created, JText::_('K2_DATE_FORMAT_LC')); ?>