Keyword

Language issue: date format display error in non-english

  • SPOTTERON
  • SPOTTERON's Avatar Topic Author
  • Offline
  • Junior Member
More
2 years 6 months ago #179638 by SPOTTERON
Since the last joomla update, an issue has arised:
We use: <?php echo JHTML::_('date', $item->created, JText::_('K2_DATE_FORMAT_LC')); ?> in the html override template in a module.
When displaying the page in Egnlish, everything's looks fine, the date is displayed as e.g.: Monday, 13 September 2021
When switching to German, the same date is displayed as: %PM, %15 %758 %2021
Any advice or hint on how that can be solved?
best regards!
Jonathan

Old member

Please Log in or Create an account to join the conversation.

  • luigi adamo voltolini
  • luigi adamo voltolini's Avatar
  • Offline
  • New Member
More
2 years 6 months ago #179640 by luigi adamo voltolini
Replied by luigi adamo voltolini on topic Language issue: date format display error in non-english
Hi, try install the last language pack for your language.
I solved it like this.

Please Log in or Create an account to join the conversation.

  • SPOTTERON
  • SPOTTERON's Avatar Topic Author
  • Offline
  • Junior Member
More
2 years 6 months ago #179641 by SPOTTERON
I have tried that already using the language pack from: getk2.org/extend/translations installing it via the Joomla install package section. Is there a newer version?

Old member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum