Skip to content

Commit

Permalink
make it expire at the end of the day
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed May 23, 2024
1 parent d160f06 commit ef13bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/wp-content/themes/lfevents/library/lfe-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ function lfe_event_alert_bar( $parent_id ) {
$time = strtotime( wp_date( 'Y-m-d', null, $pacific_tz ) ); // Return current day in PT.

if ( $expiry_date ) {
if ( strtotime( $expiry_date ) <= $time ) {
if ( strtotime( $expiry_date ) < $time ) {
// alert has expired.
return;
}
Expand Down

0 comments on commit ef13bd7

Please sign in to comment.