use Joomla\CMS\Date\Date; $date = new Date($article->created); $timezone = Factory::getApplication()->getIdentity()->getTimezone(); $date->setTimezone($timezone); $date->format('d F Y');
use Joomla\CMS\Date\Date; $date = new Date($article->created); $timezone = Factory::getApplication()->getIdentity()->getTimezone(); $date->setTimezone($timezone); $date->format('d F Y');