Skip to content

Commit

Permalink
Fix event date query for event listing in megamenu which was showing …
Browse files Browse the repository at this point in the history
…Kubecon CN after it finished

Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Aug 25, 2024
1 parent 09a8d45 commit ab488b7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ab488b7

Please sign in to comment.