umbrella
  umbrella
Silver Member
  Tuesday, 25 May 2021
  1 Replies
  465 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.