diff --git a/web/wp-content/themes/cncf-twenty-two/includes/shortcodes/event-banner.php b/web/wp-content/themes/cncf-twenty-two/includes/shortcodes/event-banner.php index 3626dbfd..29833a08 100644 --- a/web/wp-content/themes/cncf-twenty-two/includes/shortcodes/event-banner.php +++ b/web/wp-content/themes/cncf-twenty-two/includes/shortcodes/event-banner.php @@ -26,8 +26,9 @@ function show_event_in_menu() { 'meta_query' => array( array( 'key' => 'lf_event_date_end', - 'value' => gmdate( 'Y-m-d' ), + 'value' => date_i18n( 'Y-m-d' ), 'compare' => '>=', + 'type' => 'DATETIME', ), array( 'key' => 'lf_event_logo',