Dear Janusz Wójcik,
You can change the date format of module as the following.
Example theme 1, open module mod_sj_news_frontpage/tmpl/them1.php, find:
<p class="yt_date" style="margin: 0 0 3px 0 !important;line-height: normal !important;"><?php echo date("d F Y", strtotime($list[0]['publish'])); ?></p>
==> change to:
<p class="yt_date" style="margin: 0 0 3px 0 !important;line-height: normal !important;"><?php echo JHtml::_('date', $list[0]['publish'], 'd-m-Y'); ?></p>
---------------
<span class="yt_date" style="padding-top: 5px !important;"><?php echo date("d F Y", strtotime($item['publish'])); ?></span>
==> change to:
<span class="yt_date" style="padding-top: 5px !important;"><?php echo JHtml::_('date', $item['publish'], 'd-m-Y'); ?></span>
You can do it for other themes.
If you use the smart news template, you can change the date format as the following steps:
- open site/templates/smart_news25/html/mod_sj_news_frontpage/theme4.php and find:
<?php if($options->show_date == 1){?>
<p style="color:#B7B7B7; font-size:11px; margin:0 !important;display: block !important;"><?php echo date("d F Y", strtotime($list[0]['publish'])); ?></p>
<?php } ?>
==> change to:
<?php if($options->show_date == 1){?>
<p style="color:#B7B7B7; font-size:11px; margin:0 !important;display: block !important;"><?php echo JHtml::_('date', $list[0]['publish'], 'd-m-Y'); ?></p>
<?php } ?>
-----------------------------
<?php if($options->show_date == 1){?>
<span><?php echo date("d F Y", strtotime($item['publish'])); ?></span>
<?php } ?>
==> change to:
<?php if($options->show_date == 1){?>
<span><?php echo JHtml::_('date', $item['publish'], 'd-m-Y'); ?></span>
<?php } ?>
Thanks!