Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update single-event.php to fix past event check
The code changes in single-event.php modify the logic for checking if an event is in the past. The current_date_time calculation is updated to set the time to midnight of today and then subtract one second to get the end of today. This ensures that the check accurately determines if the event has already occurred. The modification improves the accuracy of the past event check in the Academy Africa theme.
- Loading branch information