Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question Remove time from Date Format

More
13 years 4 months ago #1 by launchlady
Can't seem to get the date to post without the time. Working from the kunena.timeformat.class.php file but not sure how to go about it without breaking my site.

Thanks!

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

More
13 years 4 months ago #2 by xillibit
Hello,

What is the purpose to remove the time in messages ?

Actually in kunena it's not possible to do that without hacking files, look the file components/com_kunena/template/default/view/message.php

I don't provide support by PM, because this can be useful for someone else.

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

More
13 years 4 months ago #3 by launchlady
Plain and simple, I just don't like it there. I also need to change the date format to M D Y, not D M Y.

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

More
13 years 4 months ago #4 by xillibit
You have a setting in kunena configuration panel, to change the date format.

I don't provide support by PM, because this can be useful for someone else.

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

More
13 years 2 months ago #5 by alex-51

xillibit wrote: You have a setting in kunena configuration panel, to change the date format.

The panel configuration Kunena can not be in such a way to change the date. The date format shows the month / day / year. I want to change the day / month / year. This is not in the settings. How and what file can I change this?

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

More
13 years 2 months ago #6 by fxstein
The date format is specified in the language file. It is language specific.

Look for
Code:
COM_KUNENA_DATETIME

in your language file e.g: en-GB.com_kunena.ini in /components/com_kunena/language/en-GB (replace en-GB with the language of your choice

For english it is set to:
Code:
COM_KUNENA_DATETIME="d M Y H:i"

It controls the date format and how time is added on too. remove "H:i" to drop the time and reorder "d M Y" to your likings.

Hope this helps!

We love stars on the Joomla Extension Directory . :-)
The following user(s) said Thank You: thanhtd

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

More
13 years 2 months ago - 13 years 2 months ago #7 by alex-51
Sorry, but it did not help.
PS.
Suggested changes will not result in any change in the display date. Maybe in other files also need to change something?

Edit:

I use Kunena in the Polish language. I had to change language file language/pl-PL/pl-PL.com_kunena.ini
- the line 186:

COM_KUNENA_DT_DATETIME_FMT=%m/%d/%Y %H:%M

to:

COM_KUNENA_DT_DATETIME_FMT=%d/%m/%Y %H:%M


and the line 190:

COM_KUNENA_DT_DATE_FMT=%m/%d/%Y

to:

COM_KUNENA_DT_DATE_FMT=%d/%m/%Y

Last edit: 13 years 2 months ago by alex-51.

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

Time to create page: 0.484 seconds