Hi
I use the Extend K2 v2.8.0 with The language packs Persian version 2.5.0 ( + joomla v3.8.1 ) , which has the problem change
Shamsi (solar: Persian or iranian) date.
This issue related to Calendar conversion:
Christian to
Shamsi (Solar).
I have the problem of changing item published date when I save or edit.
Like topics :
#117014
,
#108004
( If the management language of Joomla is English, the problem is solved. )
I think twice the calendar will be converted, Once converted in Joomla and the second time in K2.
In my opinion this objection relates to the
view.html.php file in
administrator/components/com_k2/views/item and codes:
// Date/time
$created = $item->created;
$publishUp = $item->publish_up;
$publishDown = $item->publish_down;
$created = JHTML::_('date', $item->created, $dateFormat);
$publishUp = JHTML::_('date', $item->publish_up, $dateFormat);
if ((int)$item->publish_down)
$lists = JHTML::_('date', $item->created, JText::_('DATE_FORMAT_LC2'));
$lists = $created;
$lists = $publishUp;
$lists = $publishDown;
please guide me as soon as possible,
Thank you.