wp-event-manager
wp-event-manager copied to clipboard
saving the start time with the start date
You appear to be saving the start time with the start date, and the end time with the end date; thus 2024-09-12 22:00:00 This means that when you get to the event listings in the content-event_listing.php, content-past_event_listing.php, and content-single-event_listing.php for example, the code that is supposed to prevent a duplication of dates doesn't work. On the content-event_listing.php for instance, that code is as follows:
-
By being lazy and not story the date and times separately this part ($start_date != $end_date) will never work. The dates may be the same but the times will not be. It would be too difficult to go back and change the way you store these dates etc., so here is my solution.
-
I've applied a similar fix to all the other templates where the start and end date might be displayed.