- Posts: 3
COMMUNITY FORUM
Item date display format
- Dave
- Topic Author
- Offline
- New Member
Less
More
6 years 10 months ago #166123
by Dave
Item date display format was created by Dave
My K2 Items display the date like this: %PM, %26 %999 %2017 %22:%Dec
as opposed to Dec 26, 2017. Interested in finding the cause and solution.
as opposed to Dec 26, 2017. Interested in finding the cause and solution.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166136
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Item date display format
Hello David, Are you using overrides?
If yes, are these strings hardcoded in the template?
If yes, are these strings hardcoded in the template?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Dave
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
6 years 10 months ago #166143
by Dave
Replied by Dave on topic Item date display format
No overrides that I'm aware of. I installed K2 and was using a different template which had the same problem. Installed Takai but the problem persisted.
Please Log in or Create an account to join the conversation.
- Marco Giannotti
- Offline
- New Member
Less
More
- Posts: 2
6 years 10 months ago - 6 years 10 months ago #166148
by Marco Giannotti
Replied by Marco Giannotti on topic Item date display format
I have the same problem. I use the "JSN Mico Pro" template and the problem also occurs in the joomla backend (example:% 05 /% 04 /% 2011 -% 16:% Apr). So I do not think it's a template problem.
Thanks to anyone who can help.
EDIT:
I have - for now - solved by modifying the files (item.php, category_item.php, user.php, tag.php) contained in "/templates/my_template/html/com_k2/templates/default", changing "K2_DATE_FORMAT_LC2" with "d M Y, H: s".
However this is only a temporary solution waiting to understand how to definitively solve the problem.
Thanks to anyone who can help.
EDIT:
I have - for now - solved by modifying the files (item.php, category_item.php, user.php, tag.php) contained in "/templates/my_template/html/com_k2/templates/default", changing "K2_DATE_FORMAT_LC2" with "d M Y, H: s".
However this is only a temporary solution waiting to understand how to definitively solve the problem.
Last edit: 6 years 10 months ago by Marco Giannotti. Reason: Found temporary solution
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166151
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Item date display format
Are you using any language packs?
Can you try updating them?
Can you try updating them?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Marco Giannotti
- Offline
- New Member
Less
More
- Posts: 2
6 years 10 months ago #166152
by Marco Giannotti
Replied by Marco Giannotti on topic Item date display format
I have the Italian language updated.
I deleted and reinstalled the language to try.
I also tried to delete or change the files of k2 - one by one - from the language folder and the administrator/language folder, but nothing changed.
But I think the problem is right there, otherwise everyone would be in the same situation.
For now it's okay like that. At the next update I will try to understand something more. Thank you ;)
I deleted and reinstalled the language to try.
I also tried to delete or change the files of k2 - one by one - from the language folder and the administrator/language folder, but nothing changed.
But I think the problem is right there, otherwise everyone would be in the same situation.
For now it's okay like that. At the next update I will try to understand something more. Thank you ;)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166181
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Item date display format
Hello Marco,
You can also use language overrides in Joomla!'s admin so you won't have to edit template files.
You can also use language overrides in Joomla!'s admin so you won't have to edit template files.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.