This entry: lien caché has a blank end date and the view lien caché has conditional logic to hide the end date if it is blank [wpv-conditional if="( $(end-date) ne '' ))"]–[types field="end-date" style='text' format='M j'][/types][/wpv-conditional]
This has been working in the past but it look like there is now a space or a value creating a space being added to the blank end date field so that when that event is published on the front end: lien caché it shows as Jan 25- , 2022
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+01:00)
Where can I see the problem?
I visited lien caché and I can't see where it shows the date as you describe.
I visited the post in the back end, where I see that the end date is blank, but can also see (in the Custom Fields metabox at the bottom of the page, which has the raw database values for the custom fields) that there is no content, no space character or similar, the field really is empty.
The post referenced is currently saved as a draft: lien caché and that is why you don't see on the workshop page. If you temporarily publish that post you will see the issue on the lien caché page. Please move the post back to draft status after you are done.
The conditional logic that is only supposed to show the date dash is in this view: lien caché
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+01:00)
The correct View is actually lien caché
I checked with debug mode on and it was providing a value for the end date, even when the post didn't appear to have one.
I re-inserted the conditional shortcode (using the conditional output button) to check it was formatted correctly, and it applied the wpcf- prefix used by Types fields.
Saving the View and checking on the front end it appears to be working correctly.