Keyword

Date / TIme format error when overriden

  • Goble002
  • Goble002's Avatar Topic Author
  • Away
  • Premium Member
More
1 month 2 weeks ago #178239 by Goble002
Date / TIme format error when overriden was created by Goble002
Hi,

I would like to change the date for item 'modified date'

in /language/en-GB/en-GB.com_k2.ini
it is set to :
K2_DATE_FORMAT_LC2="%A, %d %B %Y %H:%M"

I'm having weird format issues in front-end: %AM, %24 %272 %2021 %09:%Feb
when I type the same thing in /language/overrides/en-GB.override.ini

so basically I've just copied the line from /language/en-GB/en-GB.com_k2.ini to /language/overrides/en-GB.override.ini

for other language override it works ! Seem the issue comes with those with values including %

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 weeks ago #178244 by Fotis
Replied by Fotis on topic Date / TIme format error when overriden
Try something in the format of "D, M d Y H:i:s" - all availabel constants are here: www.php.net/manual/en/datetime.format.php

My guess is that date overrides are just filtered differently before being rendered.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Goble002
  • Goble002's Avatar Topic Author
  • Away
  • Premium Member
More
1 month 2 weeks ago #178245 by Goble002
Replied by Goble002 on topic Date / TIme format error when overriden
Thanks !

It works now ;-)

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 weeks ago #178246 by Fotis
Replied by Fotis on topic Date / TIme format error when overriden
Great :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum