Time for comment is saved to DB in UTC (Gibraltar) format.
Etc. 21:35:46
But in Joomla global setup (or in user who created comment) is setup for 'offset' == TimeZone => Prague (UTC+2)
Modul show still time in UTC, not as 23:35:46.
But time for comment bottom article is with right TimeZone (yep, because in HtmlView.php for components/com_engage/tmpl/comments/default_list.php is a lot's function for right TimeZone, but in tmpl for module not).
My Idea:
Add code to USE section (top in template modules/mod_engage_latest/tmpl/default.php)
//Fix
use Akeeba\Component\Engage\Administrator\Helper\UserFetcher;
use Joomla\CMS\Date\Date;
use Joomla\CMS\User\User;
use DateTimeZone;
Time for comment is saved to DB in UTC (Gibraltar) format.
Etc. 21:35:46
But in Joomla global setup (or in user who created comment) is setup for 'offset' == TimeZone => Prague (UTC+2)
Modul show still time in UTC, not as 23:35:46.
But time for comment bottom article is with right TimeZone (yep, because in HtmlView.php for components/com_engage/tmpl/comments/default_list.php is a lot's function for right TimeZone, but in tmpl for module not).
My Idea:
$commentDate->format(Text::_('DATE_FORMAT_LC2'), true)
Result you can see on:
https://joomla4.easy.minion.cz/?view=article&id=1:clanek-cs-cz&catid=8
System information
Engage v. 3.0.9 Module Engage Latest v. 3.0.9
Mandatory information
Issues without this information can not and will not be replied to.
You can skip some or all of this information. However, the more information you provide the faster and better we can help.