shiluba
  shiluba
Gold Member
  Wednesday, 09 March 2022
  4 Replies
  1.2K Visits
0
Votes
Undo
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
2 years ago
·
#225281
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

2 years ago
·
#225294
0
Votes
Undo
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
·
#225298
0
Votes
Undo
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}}

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

2 years ago
·
#225302
0
Votes
Undo
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 ?
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.