You need to be logged in to view a user's profile.
  1. shiluba
    Gold Member
  2. JEvents 3.4 (Free Access)
  3. Wednesday, 09 March 2022
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
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
shiluba
Gold Member
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 2
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 3
shiluba
Gold Member
Accepted Answer Pending Moderation
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 ?
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

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.