Keyword

problem with published date

  • MarkT DEsign
  • MarkT DEsign's Avatar Topic Author
  • Offline
  • New Member
More
6 years 7 months ago - 6 years 7 months ago #163682 by MarkT DEsign
problem with published date was created by MarkT DEsign
Hello,

i have upgrade my site to joomla 3.7.5 and K2 2.8.

After the update the "published date" info is not good. See my screenshot.

Anyone an idea what is going wrong here?

Check the screenshot: http://imgur.com/a/BIVAB
Last edit: 6 years 7 months ago by MarkT DEsign.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #163693 by Krikor Boghossian
Replied by Krikor Boghossian on topic problem with published date
Are you using any overrides in the language string?
Can you share a link to your site?

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

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

  • MarkT DEsign
  • MarkT DEsign's Avatar Topic Author
  • Offline
  • New Member
More
6 years 7 months ago #163756 by MarkT DEsign
Replied by MarkT DEsign on topic problem with published date

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

  • MarkT DEsign
  • MarkT DEsign's Avatar Topic Author
  • Offline
  • New Member
More
6 years 7 months ago - 6 years 7 months ago #163757 by MarkT DEsign
Replied by MarkT DEsign on topic problem with published date
Problem solved. It was only an update of the K2 dutch language package!
Last edit: 6 years 7 months ago by MarkT DEsign.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #163781 by Krikor Boghossian
Replied by Krikor Boghossian on topic problem with published date
Thank you for sharing this :)

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

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

More
6 years 7 months ago #164008 by deejayone
Replied by deejayone on topic problem with published date
Sorry to jump in on this and bump it.

Can you please explain how you fixed this?

I updated Joomla (to 3.7.5) and K2 (2.8.0) today and am encountering a similar or the same issue with the published date displaying with % signs (see imgur link). All was fine before the update. For the life of me I can't work out how to fix.

imgur.com/a/t9TOQ

Any ideas?

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

More
6 years 7 months ago #164009 by deejayone
Replied by deejayone on topic problem with published date
Think I might have solved it.

Somehow in upgrade the date format in the language file (en-GB.com_k2.ini) got messed up?!

I've manually edited it for now using PHP date formats and it appears to have worked.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #164019 by Krikor Boghossian
Replied by Krikor Boghossian on topic problem with published date
Thank you for reporting this :)
Can you post the edits you made?

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

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

More
6 years 6 months ago #164188 by Superkoala
Replied by Superkoala on topic problem with published date
Hello,

I have now the same problem. The date is not correct > %AM, %23. %341 %2015 %09:%Jun
For example: alexanderriegler.at/kompetenz-akademie/health-literacy-top/artikel-in-der-bezirkszeitung-eggenberg

I use Joomla 3.8.0 and K2 2.8.0. Configuration > Time Zone: Vienna

Update:
Language File de-AT 3.7.5.1

No overrides or hacks. Standard

Where can I find the error?

Thanks for helping.
Best regards,
Alex

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

More
6 years 6 months ago #164191 by deejayone
Replied by deejayone on topic problem with published date
For me the error was in the language file: en_GB.com_k2.ini

Look for the date format lines, for me these were showing as:

K2_DATE_FORMAT="%d/%m/%Y - %H:%M"
K2_DATE_FORMAT_LC2="%A, %d %B %Y %H:%M"
K2_DATE_FORMAT_LC="%A, %d %B %Y"

I removed the % signs and reformatted them to how I wanted them to be using PHP date format rules from php.net/manual/en/function.date.php

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


Powered by Kunena Forum