Closed pinochico closed 2 years ago
in tmel/default.php
is error in line 76:
(new \Joomla\CMS\Date\Date($comment->created_on))->format(Text::_('DATE_FORMAT_LC2'))
With this is result actually date and time every date :)
Right code is:
(new \Joomla\CMS\Date\Date($comment->created))->format(Text::_('DATE_FORMAT_LC2'))
Thank you for the report! I actually chose to use an HTML helper in the component as it is more flexible.
in tmel/default.php
is error in line 76:
(new \Joomla\CMS\Date\Date($comment->created_on))->format(Text::_('DATE_FORMAT_LC2'))
With this is result actually date and time every date :)
Right code is:
(new \Joomla\CMS\Date\Date($comment->created))->format(Text::_('DATE_FORMAT_LC2'))