umbrella
  umbrella
Silver Member
  Tuesday, 25 May 2021
  1 Replies
  466 Visits
0
Votes
Undo
Quick question - we have some upcoming events that are either all day events or we don't know the start/end times just yet. How do we get rid of the trailing comma and dash in the year display?

Thanks.

Screen Shot 2021-05-25 at 10.24.25 AM.png
3 years ago
·
#221904
0
Votes
Undo
Hello!

Ideally we need to see your custom format string but you can condition the output and put the - within the end time. Like:

changing:

- ${endDate(%H:%M)}][a: - All Day]

to

${endDate( - %H:%M)}][a: - All Day]

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!

  • 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.