By shiluba on Wednesday, 09 March 2022
Replies 4
Likes 0
Views 1.2K
Votes 0
Hi,
I found the layout page for the tooltip : "Monthly Calendar Tooltip (Joomla Tooltip Only)", but I can not change the way the start and end dates are formatted.
The only date related field I can see here is TTTIME.
How can I change the way TTTIME is formatted ?
Otherwise, how can I use the start and en dates, and format them the same way as in the latest events module ?
Thanks for your help.
Regards
S
Hello,

Did you see:
https://www.jevents.net/frequently-asked-questions/time-formatting-in-jevents

By default the tooltip uses the repeat summary which you can customise above. Otherwise you can include a date tag of your choosing and format it as you wish.

Many thanks
Tony
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Tony,
I did but maybe I do not understand everything about Time and Date Formatting in JEvents .
About the date tag of my choosing, are you talking about a date custom-field ?

Otherwise, the REPEATSUMMARY field works. But can I customize its date format ? So far I did not manage to do it.

More globally about date formatting, I'd like to turn this type of (French) date ...
Vendredi 08 Juillet 2022 - mardi 12 Juillet 2022
... into ...
8 Juil - 12 Juil 2022

(strftime's "%e %B" as start date and "%e %B %Y" as the end date)
Is this possible with REPEATSUMMARY ?

As for the French months, I can get them properly translated. But the abbreviation needs 4 letters. Otherwise "Juin" and "Juillet" (June and July) are both "Jui". Can I get the month formatted with something equivalent to the following code ?

substr(utf8_encode(strftime('%B')), 0, 4);


Thank you all,
Regards
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Yes you can as per this:
https://www.jevents.net/frequently-asked-questions/time-formatting-in-jevents

You change what format is currently being displayed to what you want displayed.

But you can use:
{Start Date:STARTDATE;%%e %B}}
{End Date:ENDDATE; - %e %B %Y}}
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
I can change what format is displayed, but I can't get what I want displayed.

When modifying REPEATSUMMARY through the language overrides, apparently I need to set DATE_FORMAT_0 to "%e %B".
Then the Year is no longer displayed after the end date. Well, let's add the year separately then :
{{Repeat Summary:REPEATSUMMARY}}{{End Date:ENDDATE;%Y}}
Bad luck : a "<br>" tag is automatically added by REPEATSUMMARY. Now my date spreads on two lines and I do not want that.

So let's see {{Start Date:STARTDATE;%e %B}}{{End Date:ENDDATE; - %e %B %Y}} ...
It's good only for all day events that do not start & end on the same day.
The events that start & end on the same day show the date twice.
Start and End time are not displayed.

Is there a better way to get what I want displayed ?
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post