Keyword

Date / TIme format error when overriden

  • Goble002
  • Goble002's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 3 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.

More
3 years 3 weeks ago #178244 by JoomlaWorks
Replied by JoomlaWorks 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Goble002
  • Goble002's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 3 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.

More
3 years 3 weeks ago #178246 by JoomlaWorks
Replied by JoomlaWorks on topic Date / TIme format error when overriden
Great :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum