By metabern on Wednesday, 06 June 2018
Replies 8
Likes 0
Views 1.1K
Votes 0
I have added event duration to my events list page and it shows, but in a long format.

0 Days 04 hours 00 minutes

I would like to see the duration as 4 hours or 4.5 hours

How do I adjust this? I did not find a corresponding Language Override.

Cheers
Hello,

So where you were searching for the file, just write it in the left. You don't need to search for a constant/string to create an override.

If you are struggling then sure just remind us of the logins and we will take a look.

Many thanks
Tony
·
Monday, 11 June 2018 16:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

See:

JEV_DURATION_FORMAT="%d Days %h hours %m minutes"

Many thanks
Tony
·
Wednesday, 06 June 2018 21:05
·
0 Likes
·
0 Votes
·
0 Comments
·
I cannot find JEV_DURATION_FORMAT in overrides (See attached)


Screen Shot 2018-06-07 at 2.27.16 PM.png
·
Thursday, 07 June 2018 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Are you using the latest version of JEvents? I see it without issue:

https://www.dropbox.com/s/z0ewm4aa2gxkoty/Screenshot%202018-06-11%2015.35.04.png?dl=0

Many thanks
Tony
·
Monday, 11 June 2018 15:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Using JEvents v3.4.46 Stable. I double checked, cannot see it
·
Monday, 11 June 2018 15:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Does it work if you add it manually i.e. paste the constant and text? It might be your file isn't readable by the language tool.

Many thanks
Tony
·
Monday, 11 June 2018 15:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Not sure where I would add it manually. Is that an override? I am wanting to see this in a events list, can I add it in the menu item somewhere?

What file would you be referring to?

You have my Joomla creds on file from a previous issue. If you need to have a look. Do you need me to resend?
·
Monday, 11 June 2018 15:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Worked
·
Monday, 11 June 2018 19:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post