- Posts: 8
COMMUNITY FORUM
[SOLVED] Posted Date mess up after upgrade to 2.6.7
- Frank
- Topic Author
- Offline
- New Member
Less
More
10 years 8 months ago - 10 years 8 months ago #123110
by Frank
[SOLVED] Posted Date mess up after upgrade to 2.6.7 was created by Frank
Hi all
After upgrading K2 to version 2.6.7 I started having problem with the displaying of posted date on my Blog's articles.
The dates are not displayed correctly and a strange code appear instead.
My blog is reachable at www.willyshakez.com/index.php/blog
Any ideas how to solve this?
Thank you!
Frank
After upgrading K2 to version 2.6.7 I started having problem with the displaying of posted date on my Blog's articles.
The dates are not displayed correctly and a strange code appear instead.
My blog is reachable at www.willyshakez.com/index.php/blog
Any ideas how to solve this?
Thank you!
Frank
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 8 months ago #123111
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Posted Date mess up after upgrade to 2.6.7
Hello Frank,
Are you sure the definition for the "K2_DATE_FORMAT_LC2" string is correct?
You can try using a language override for this. Eg something like d M Y.
Are you sure the definition for the "K2_DATE_FORMAT_LC2" string is correct?
You can try using a language override for this. Eg something like d M Y.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Frank
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
10 years 8 months ago #123112
by Frank
Replied by Frank on topic Re: Posted Date mess up after upgrade to 2.6.7
Hi Krikor and thank you so much for your feedback (I've just seen it... it's been a hard working week!)
I will give a look at the issue coinsidering your feedbacks and will let you know of the outcome.
Thank you again.
Frank
I will give a look at the issue coinsidering your feedbacks and will let you know of the outcome.
Thank you again.
Frank
Please Log in or Create an account to join the conversation.
- Frank
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
10 years 8 months ago - 10 years 8 months ago #123113
by Frank
Replied by Frank on topic Re: Posted Date mess up after upgrade to 2.6.7
Hi Krikov
I'm checking the file en-GB relative to the component K2 in MYWEBSITE\public_html\administrator\language\en-GB and I'm actually finding more than one defining the variable "K2_DATE_FORMAT_LC2".
I'm attaching them here to this post. Do you recognise the definition of any of these variable could be the cause of this strange behaviour?
Many thanks for your support!
Cheers,
Francesco
I'm checking the file en-GB relative to the component K2 in MYWEBSITE\public_html\administrator\language\en-GB and I'm actually finding more than one defining the variable "K2_DATE_FORMAT_LC2".
I'm attaching them here to this post. Do you recognise the definition of any of these variable could be the cause of this strange behaviour?
Attachment not found
Many thanks for your support!
Cheers,
Francesco
Please Log in or Create an account to join the conversation.
- Frank
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
10 years 8 months ago #123114
by Frank
Replied by Frank on topic Re: Posted Date mess up after upgrade to 2.6.7
Hi Krikov
The problem was actually in the en-GB.com_k2.ini
The lines
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"
needed to be reformatted with a correct date format definition; for example something like
K2_DATE_FORMAT="d/m/Y - H:i"
K2_DATE_FORMAT_LC2="l, d F Y H:i"
K2_DATE_FORMAT_LC="l, d F Y"
did the trick.
Many thanks for addressing me toward the right way to solve this problem.
Cheers,
Francesco
The problem was actually in the en-GB.com_k2.ini
The lines
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"
needed to be reformatted with a correct date format definition; for example something like
K2_DATE_FORMAT="d/m/Y - H:i"
K2_DATE_FORMAT_LC2="l, d F Y H:i"
K2_DATE_FORMAT_LC="l, d F Y"
did the trick.
Many thanks for addressing me toward the right way to solve this problem.
Cheers,
Francesco
Please Log in or Create an account to join the conversation.